#2 "msg" unconditionally adds colorization
Opened by dmalcolm. Modified

See e.g. https://bugzilla.redhat.com/attachment.cgi?id=1472435

The messages are hard to read, as they contain colorization codes (via "tput"), e.g.

[ OK(B ] man page parsing with lexgrog succeeded

When viewing a log of the script output should read simply:

[OK] man page parsing with lexgrog succeeded

Presumably the script should determine if the output stream is directly connected to a tty, and only emit color codes if it is. That way, if the output is redirected to a file, the color codes won't be emitted.


Alternatively, the output could be passed through, e.g., ansi2html before being attached to Bugzilla.

Metadata