Asterisk expansion...

Fergus Henderson fjh@cs.mu.OZ.AU
Sat Jul 25 01:22:00 GMT 1998


On 24-Jul-1998, Earnie Boyd <earnie_boyd@yahoo.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@cs.mu.oz.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@128.250.37.3        |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list