colors from waf => crap in log files

Eric S. Raymond esr at thyrsus.com
Sun Nov 6 01:45:38 UTC 2016


Hal Murray <hmurray at megapathdsl.net>:
> 
> waf likes fancy colors.
> 
> >From build -v, it prints "runner" in red.  You end up with things like this:
> 
> 18:10:51 ^[[35mrunner^[[0m ['/usr/bin/bison', '-d', '--debug', 
> '/home/murray/ntpsec/play/ntpd/ntp_parser.y', '-o', 'ntp_parser.tab.c']
> 
> But I don't get them in a log file made by a script.  Does anybody understand that area?
> 
> The script tee-s to a log file, but doing that by hand still got colors.

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -c COLORS, --color=COLORS

You can turn them off.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>


More information about the devel mailing list