Message-ID: <3BADD29A.F1F93381@yahoo.com.NOSPAM> From: CBFalconer 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: <1001243912 DOT 289276 AT queeg DOT ludd DOT luth DOT se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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)