delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/24/22:38:43

From: earnie_boyd AT yahoo DOT com (Earnie Boyd)
Subject: Re: Asterisk expansion...
24 Jul 1998 22:38:43 -0700 :
Message-ID: <19980724154632.264.rocketmail.cygnus.gnu-win32@send101.yahoomail.com>
Reply-To: earnie_boyd AT yahoo DOT com
Mime-Version: 1.0
To: "Robertson, Jason V" <jason DOT v DOT robertson AT intel DOT com>, gnu-win32 AT cygnus DOT com

---"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?  And doesn't this mean it's impossible to echo the

It is the shells job to do the globbing not the programs.

the \ is not used the same way in MSDOS as it is in UNIX the program
will only output to stdout what it receives on stdin.

This is true for _ALL_ programs.

<snip>


==
-        \\||//
---o0O0--Earnie--0O0o----
--earnie_boyd AT yahoo DOT com--
------ooo0O--O0ooo-------



_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
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