grep (GNU grep) 2.5.1 not being recursive.
Richard Quadling
rquadling@googlemail.com
Tue Apr 4 07:52:00 GMT 2006
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
More information about the Cygwin
mailing list