On Fri, 20 Jan 2006 09:09:01 -0600, Anthony E. Caudel wrote:

> find <directory> -name '*' -exec fgrep -l <search phrase> \{\} \;
> 
> This search all files for the search phrase.

Using find with a separate call to grep for each seems a slow way to do
things. What's wrong with fgrep -r ?

fgrep -lr 'search phrase' directory


-- 
Neil Bothwick

How stupid are people?  Send me $1 to find out.

Attachment: signature.asc
Description: PGP signature

Reply via email to