3/13/2005
grep with color
Wow, I didn’t realize until today that good ol’ GNU grep supports color highlighting. Up until now, I had been installing rgrep from the jed distribution everywhere so that I could get recursive grepping and highlighting. But GNU grep has both of these now, which means I just need to add:
alias grep='grep --recursive --color=auto'
Del.icio.us
Digg
Reddit
Technorati
Possibly related posts
Comments
Leave a reply



This goes in the “cool things I learned on the internet today” column. Excellent!