delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/01/07:54:53

Date: Sun, 1 Nov 1998 14:54:57 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Erik Max Francis <max AT alcyone DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: /? command line args being altered by DJGPP
In-Reply-To: <36365445.4233A837@alcyone.com>
Message-ID: <Pine.SUN.3.91.981101145331.6846s-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Tue, 27 Oct 1998, Erik Max Francis wrote:

> > 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.

The DJGPP FAQ explains that the DJGPP behavior in these cases is like 
that of Bourne shell, Bash, and their ilk.  Csh, tcsh and their family 
are those which say "No match" and refuse to run the command.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019