News for hackers. Stuff that matters.
Re:Colout – add colors to a text stream in your terminal by ajanuary on Thursday June 06, 2013 @12:49PM (#5833544)
Is it just me or is there a bug shown in their second example? The closing square bracket isn't coloured.
Re:Colout – add colors to a text stream in your terminal by nojhan on Monday June 10, 2013 @04:56AM (#5853154)
That's because the log was already colored (the word "fail" in red). As colout tries to color the whole line, the previous end escape character is interpreted by the terminal before the last one :

    <red>* This is a colored line [<red>fail<end>]</end>
(You can use the `--debug` switch of colout to get hints about such problems).