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

Date: Sun, 23 Sep 2001 16:05:11 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: Is it possible to search subdirectories from the command line....
In-Reply-To: <3BADD29A.F1F93381@yahoo.com.NOSPAM>
Message-ID: <Pine.SUN.3.91.1010923160257.15338A@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 23 Sep 2001, CBFalconer wrote:

> > -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.

_All_ DJGPP programs can glob command-line arguments, unless invoked in a 
way that inhibits that globbing (via `spawn*' family of library 
functions).  So GNU Grep, being a DJGPP progra, does that as well.

> Use a dos grep

DJGPP programs _are_ DOS programs.

> or execute it through bash

Martin _did_ run Grep from Bash.

- Raw text -


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