1 2 3 4 5 6
#!/bin/sh # Removes ANSI color codes from its stdin, prints to stdout. # Source: https://stackoverflow.com/questions/17998978/removing-colors-from-output sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g'
Generated with cgit - Back to sebastiano.tronto.net