Date: Wed, 28 Oct 1998 08:55:10 +0000 (GMT) From: George Foot To: djgpp AT delorie DOT com Subject: Re: /? command line args being altered by DJGPP In-Reply-To: <36365445.4233A837@alcyone.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Tue, 27 Oct 1998, Erik Max Francis wrote: > 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). bash does: ~$ echo ccc* ccc* Things like csh and tcsh just don't run the command, though, as you said. -- george DOT foot AT merton DOT oxford DOT ac DOT uk xu do tavla fo la lojban -- http://xiron.pc.helsinki.fi/lojban/lojban.html