Hey all...

One of these days I need to learn bash! I need to search through a directory 
of text files for a particular string and then report the name of the file(s) 
that contain that string. For example

cat *.txt | grep "event_templates/add.php"

merely reports that two files indeed contain the string but it doesn't tell me 
which of the 176 files contain the string... Thanks!

-- 
Peter Pankonin, digitalcrucible

There are 10 kinds of people in the world,
those who understand binary, and those who don't.


_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to