View Single Post
Old 10-01-2007, 01:46 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
grep > (only print lines without CVS)

i want to make a report of all files in my system that use the word 'foo'. i do not want results that have /CVS in the path to be added.

i figure i should be able to pipe the info and filter it out, but i'm not sure how. here's the command.

Code:
$ grep -R foo ./ >> log.txt
__________________
Mike
sde is offline   Reply With Quote