This is the mail archive of the cygwin 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]
Other format: [Raw text]

grep (GNU grep) 2.5.1 not being recursive.


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

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