This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Recursive grep [WAS: Re: date]


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]