Date: Sun, 16 May 1999 17:30:56 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Martin Str|mberg cc: djgpp AT delorie DOT com Subject: Re: TRUE and FALSE In-Reply-To: <7hm9qq$kqc$1@news.luth.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 16 May 1999, Martin Str|mberg wrote: > Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote: > : Or, you can say "grep FALSE DJGPP_directory/include/.../*.h" and find > : them all in one swell whoop ;-). > > Not in tcsh in Linux/Unix, alas. Is this specific to DJGPP or does > bash in general support this? It's specific to the DJGPP version of `glob', so even Bash doesn't support it (you need to quote such patterns if you want to use them with Bash, so that they end up verbatim in the command line of the program you run). Since the startup code uses `glob', all DJGPP programs expand this wildcard (see FAQ section 16.1). The idea was lifted from VMS (AFAIK), so no other OS/shell supports such magic. The next version 2.3 of Grep has a special switch that causes it to recursively descent a directory tree; this will work on all systems. I didn't yet have time to make a DJGPP distribution, but since Grep supports DJGPP out of the box, you could simply download it from a GNU FTP site and build it on your machine.