Wednesday, January 04, 2006

grep with color?

I just found this on Robert's Blog, grep understands the --color flag. So, no Robert, you are not the last to know, and, yes, pretty much live-changing. Best of all, it works on Linux and OS X, that's all I need at the moment.
One has just to use:
grep --color <search_pattern> <files_to_search>
<shameless_plug>BTW: I had the honor to do the German translation of his book.</shameless_plug>