delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/25/02:44:57

From: fjh AT cs DOT mu DOT OZ DOT AU (Fergus Henderson)
Subject: Re: Asterisk expansion...
25 Jul 1998 02:44:57 -0700 :
Message-ID: <19980725181402.12991.cygnus.gnu-win32@mundook.cs.mu.OZ.AU>
References: <19980724154632 DOT 264 DOT rocketmail AT send101 DOT yahoomail DOT com>
Mime-Version: 1.0
To: earnie_boyd AT yahoo DOT com
Cc: "Robertson, Jason V" <jason DOT v DOT robertson AT intel DOT com>, gnu-win32 AT cygnus DOT com

On 24-Jul-1998, Earnie Boyd <earnie_boyd AT yahoo DOT com> wrote:
> ---"Robertson, Jason V"  wrote:
> >
> > Hi,
> > 
> > There seems to be an inconsistency in how * is interpreted.  When you
> > run, say, 'echo.exe' from the commandline you get the following:
> > C:> echo *.*
> > <Contents of C: are listed>
> > C:> echo \*.\*
> > \*.\*
> > 
> > So why does it expand the glob in the first instance, and not unescape
> > them in the second?
> 
> It is the shells job to do the globbing not the programs.

Then why does gnu-win32 do the globbing in the case of the command
`echo *.*'?

-- 
Fergus Henderson <fjh AT cs DOT mu DOT oz DOT au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh AT 128 DOT 250 DOT 37 DOT 3        |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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