Re:Make your STDERR red
by burgerbrain on Tuesday December 13, 2011 @05:51PM
(#3349736)
Not all of it, just stderr (so not stdout). This is useful because many things use stdout for regular output and stderr for error output (some things just use stdout for both, but that's not very nice as it disables doing things like this).
[ Parent
| on HN ]
Re:Make your STDERR red
by bouncingsoul on Tuesday December 13, 2011 @06:22PM
(#3349833)
I think they're suggesting just styling "Error:" in red and then using normal text for the actual message.
npm does something like that: http://i.imgur.com/7oBLP.png
Re:Make your STDERR red
by burgerbrain on Tuesday December 13, 2011 @07:04PM
(#3349955)
Well you can do that with a standard unix filter. This does all of stderr.
Re:Make your STDERR red
by bouncingsoul on Tuesday December 13, 2011 @07:34PM
(#3350059)
Whoops. I thought this was a tool for script authors, not the end user. Now I get it, and I think it's way cool. And I think J_Darnley doesn't like red.