delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/10/23/13:37:57

From: weiqigao AT a DOT crl DOT com (Weiqi Gao)
Subject: Re: CONTINUING Elementary Problems with Find
23 Oct 1997 13:37:57 -0700 :
Message-ID: <344F7711.6151FBE4.cygnus.gnu-win32@a.crl.com>
References: <01BCDFCA DOT 70BDB540 AT gbird0>
Mime-Version: 1.0
To: "'GNU-Win32'" <gnu-win32 AT cygnus DOT com>

Colin Peters wrote:
> 
> Weiqi Gao[SMTP:weiqigao AT a DOT crl DOT com] wrote:
> >Watch out for the shell, because the shell has the first stab at the
> >command line.  If you are using the Windows 95 COMMAND.COM shell, then
> >*.c gets expanded to:
> >  i) a list of your .c files in the current directory; --OR--
> >  ii) if there are no .c files in the current directory, *.c
> 
> Sorry to pick nits, but this is not strictly true. Under Win95
> the startup code of a program gets the command line unaltered
> and performs "globbing" to create the argv list. Most (but not
> all) Win95 programs do the globbing you describe (because
> thats the kind that MS compilers' startup code does). I could
> give you a program that runs under Win95 command.com and
> does not perform globbing.

I stand corrected.

There is still the issue of different shells "glob"s differently,
though.

--
Weiqi Gao
weiqigao AT a DOT crl DOT 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