Subject: Re: recursive grep
From: Brendan Simon <[email-masked]>
To: CygWin32 <[email-masked]>
Date: Wed, 15 Sep 1999 10:51:20 +1000

Christopher Jones wrote:

> > The UNIXy way to do this is
> >
> > find | xargs grep <pattern>
> >
>
> or find -exec grep <pattern> \{\} \; -print
>
> proving once again there is more than one way to do just about anything.

I use
grep pattern `find`
or
grep pattern `find . -name "*.c"`

This sometimes can fill the command line up though for large file matches.

Brendan Simon.

--
Want to unsubscribe from this list?
Send a message to [email-masked]