Mail Archives: djgpp/1999/05/16/10:35:46
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.
- Raw text -