stdout & stderr ought to tailor output format based on $TERM
I'm writing a script that parses specific frame values. eyeD3's stdout is color-coded, presumably because it assumes humans are the primary direct consumers.
However, when I explicitly use my $TERM to indicate that I can't handle fancy ANSI formatting, eyeD3 still produces ANSI-formatting output. E.g.:
$ TERM=dumb eyeD3 -v test.mp3
See this StackOverflow answer that suggests this should be possible: http://stackoverflow.com/questions/6306728/remove-ansi-codes-when-storing-script-output