delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/04/03:52:18

X-Spam-Check-By: sourceware.org
Message-ID: <10845a340604040052h57f135a3ga98e06daea222ec1@mail.gmail.com>
Date: Tue, 4 Apr 2006 08:52:09 +0100
From: "Richard Quadling" <rquadling AT googlemail DOT com>
Reply-To: RQuadling AT googlemail DOT com
To: cygwin AT cygwin DOT com
Subject: grep (GNU grep) 2.5.1 not being recursive.
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id k347qHPr019739

Ok. The start point for this message is that I am a klutz and I don'tknow 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. Allworked 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 sayinggrep: *.c: No such file or directory
If I go back to my windows DOS prompt and do dir *.c /w /s /-p in thesame 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019