How can I change the color of build output in a shell window?

Posted by Tim Gradwell on Stack Overflow See other posts from Stack Overflow or by Tim Gradwell
Published on 2010-03-19T13:50:18Z Indexed on 2010/03/19 13:51 UTC
Read the original article Hit count: 158

Filed under:
|

I have a build process which runs from a batch file. It produces a large volume of text. Sometimes it prints the word "Error" or "Warning" followed by a message. The errors and warnings are getting lost among a sea of text.

Can I highlight those words in a different color, maybe in a dos window, or a cygwin shell window, possibly by piping them through some string manipulation program before posting them to the screen?

Thanks.

© Stack Overflow or respective owner

Related posts about build-process

Related posts about highlighting