This is the mail archive of the
cygwin
mailing list for the Cygwin project.
grep (GNU grep) 2.5.1 not being recursive.
- From: "Richard Quadling" <rquadling at googlemail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 4 Apr 2006 08:52:09 +0100
- Subject: grep (GNU grep) 2.5.1 not being recursive.
- Reply-to: RQuadling at GoogleMail dot com
Ok. The start point for this message is that I am a klutz and I don't
know what I'm doing.
Well.
Not really true.
I do know what I'm doing and I know that I'm doing it wrong.
So give us a hand.
I used to use GREP supplied with Borland Turbo C and Delphi. All
worked fine. New job. New pc. Not using C or Delphi.
Using Cygwin for PHP source and documentation.
Want to use grep to look for a certain string "%v%v" in all the .c files.
So...
grep -e%v%v -R *.c
but this does nothing. Instead I get an error saying
grep: *.c: No such file or directory
If I go back to my windows DOS prompt and do dir *.c /w /s /-p in the
same directory, there are 1,481 files taking 34MB.
So what gives.
Thank you.
--
-----
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=UlF1YWRsaW5n