On Wed, Jan 20, 2010 at 11:56, indrek <ho...@hot.ee> wrote: > I'm using make/gcc for compiling applications. It generates a lot of output. > I need to highlight some keywords (show red text), in example "error". > Is it possible with Cygwin. My OS is Windows XP.
Use grep(1). It has the color option you are looking for. Here is an example having a simple regexp that matches (prints) all lines but highlights "error" as it does so. grep -E --color 'error|$' Best wishes, Edward -- What part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" don't you understand? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple