Netsight Blog

Cool stuff Netsight are up to in Zope and Plone

Avatar

Grep with colour

written by Matt Hamilton, on Nov 6, 2008 12:00:00 AM.

Never knew this before:

grep --color foo bar.txt

will search for 'foo' in the file bar.txt and will highlight the colour. Works on MacOS and FreeBSD (and probabaly Linux).

Leave a Reply