On Sun, 7 Jun 2009, Peter Eisentraut wrote:

On Wednesday 03 June 2009 01:55:48 Andrew Dunstan wrote:
Running recursive grep on a subversion working copy is quite nasty.

I suggest
export GREP_OPTIONS='-d skip -I --exclude=*.svn-base --exclude=tags --exclude=*~ --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.svn --exclude=TAGS'

The other alternative is to use ack: http://betterthangrep.com/ and have some better defaults.

--
* Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to