Date: Sun, 23 Sep 2001 14:52:41 +0200 (IST) From: Eli Zaretskii 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: <1001243912.289276@queeg.ludd.luth.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk On Sun, 23 Sep 2001, Martin Str|mberg wrote: > Eli Zaretskii 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) Because you invoke Grep from Bash. Bash expands the command-line arguments itself and passes them to the application in a way that disables the expansion by the app (via spawn*). Try from command.com.