delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/23/08:48:00

Message-ID: <3BADD29A.F1F93381@yahoo.com.NOSPAM>
From: CBFalconer <cbfalconer AT yahoo DOT com DOT NOSPAM>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Is it possible to search subdirectories from the command line....
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010920111801 DOT 3922J-100000 AT is> <1001243912 DOT 289276 AT queeg DOT ludd DOT luth DOT se>
Lines: 28
Date: Sun, 23 Sep 2001 12:32:08 GMT
NNTP-Posting-Host: 12.90.167.119
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc06-news.ops.worldnet.att.net 1001248328 12.90.167.119 (Sun, 23 Sep 2001 12:32:08 GMT)
NNTP-Posting-Date: Sun, 23 Sep 2001 12:32:08 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Martin Str|mberg wrote:
> 
> Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
> : Try this:
> 
> :       application .../*.cpp
> 
> : (that's 3 dots before the slash).
> 
> Hmm... Why isn't grep working then?:
> 
> -bash-2.03$ pwd
> /djgpp/src.compiling
> -bash-2.03$ grep islower .../*.c
> grep: .../*.c: No such file or directory (ENOENT)
> -bash-2.03$ grep --version
> grep (GNU grep) 2.2

GNU grep expects to have the command line pre-globbed.  Use a dos
grep, or execute it through bash (I think).  Only . and .. are
normally understood.

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT XXXXworldnet DOT att DOT net)
   (Remove "XXXX" from reply address. yahoo works unmodified)
   mailto:uce AT ftc DOT gov  (for spambots to harvest)


- Raw text -


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