This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Recursive grep [WAS: Re: date]
- To: gerrit dot haase at t-online dot de
- Subject: Re: Recursive grep [WAS: Re: date]
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Thu, 11 Jan 2001 16:36:14 -0500
- CC: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- References: <3A5E2779.29738.E908D08@localhost>
- Reply-To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
"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