9
3
I am used to grep being able to color the filename, the line number, and the match itself. These three ought to be different colors. This works flawlessly on a Linux terminal and even MinGW on Windows, but on OS X even if I set GREP_COLOR I can only get color on the matched result.
Is the version of grep packaged with the OS too old?
10.7.3 on MBA 13" with Terminal.app.
This still work? --> http://superuser.com/questions/416835/how-can-i-grep-with-color-in-mac-os-xs-terminal
– emgee – 2012-05-02T04:42:54.077I just came from there. I did exactly what was described. Just one color got set. – Steven Lu – 2012-05-02T04:45:25.713