Trying a recursive grep?
grep -RnH (string) (path) gets you all the occurrences of (string) in (path) with line numbers but if you’re working with an SVN folder, a bunch of hits will come up from the .svn folder. Thats pretty annoying… the fix is using the exclude flag.
Try:
grep --exclude *\.svn* -RnH (string) (path)
Beautiful.
#1 by Suresh on October 22, 2009 - 11:30 pm
Thanks, this works very well.