Recursive grep [WAS: Re: date]

Earnie Boyd earnie_boyd@yahoo.com
Thu Jan 11 13:35:00 GMT 2001


"Gerrit P. Haase" wrote:
> 
> <Am 2001-01-11 15:01 wars, als Earnie Boyd schrieb:>
> < Re: Recursive grep [WAS: Re: date] >
> 
> > The current version of grep --version=2.4.2, which is what you get when
> > you execute setup, supports -r, --recursive, -d recurse and
> > --directories=recurse switces.  You don't need any other tools to do
> > this.
> 
> But it doesn't work... with wildcards!
> 

Ok, use the source Luke and supply a patch to the grep maintainer.

Or

find . -name \*.cc -exec echo '{}' ';' -exec grep getenv '{}' ';'

You still don't need the git tools.

Cheers,
Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list