Mail Archives: djgpp/1998/10/27/18:25:17
Hans-Bernhard Broeker wrote:
> In comes another Unixism: the shell filenaming globbing. ...
>
> Only if no matching filenames are found, the pattern (including ? and
> *) will be passed to the subprogram, instead.
Note that no shells that I'm aware of (certainly not the most popular
ones) do this; if there is no match to the glob, either nothing will be
past (it will evaluate to null) or the shell will return an error and
not execute the command. If you actually want shell metacharacters in a
command, you have to escape them (either by preceding them with a
backslash or by quoting them).
--
Erik Max Francis / email max AT alcyone DOT com / whois mf303 / icq 16063900
Alcyone Systems / irc maxxon (efnet) / finger max AT sade DOT alcyone DOT com
San Jose, CA / languages En, Eo / web http://www.alcyone.com/max/
USA / icbm 37 20 07 N 121 53 38 W / &tSftDotIotE
\
/ The quickest way of ending a war is to lose it.
/ George Orwell
- Raw text -