[Scottish] Best way to find text within files recursively?

Michael Cameron scottish at mailman.lug.org.uk
Sun Jan 19 23:34:00 2003


> find . -type f -exec grep 'foo' {} /dev/null \;

> Also, since grep is only spawned with one filename, it will not
>(iirc) issue the names of matching files in addition to the matching
>line itself.  

/dev/null is the second file