delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/05/25/07:00:27

Message-ID: <3CEF5B9D.B7BCA57@yahoo.com>
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: GNU Pascal (gpc) 2.1 released
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1020523191611 DOT 3394B-100000 AT is> <3CED528D DOT 7DCF9660 AT yahoo DOT com> <3CED6BA6 DOT 48D4D0FE AT phekda DOT freeserve DOT co DOT uk> <ackpus$4e5$1 AT antares DOT lu DOT erisoft DOT se> <200205241404 DOT g4OE4Qt03777 AT envy DOT delorie DOT com> <3CEE7DCE DOT BD8CACAE AT yahoo DOT com> <2110-Sat25May2002112429+0300-eliz AT is DOT elta DOT co DOT il>
Lines: 33
Date: Sat, 25 May 2002 09:45:24 GMT
NNTP-Posting-Host: 12.90.168.254
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1022319924 12.90.168.254 (Sat, 25 May 2002 09:45:24 GMT)
NNTP-Posting-Date: Sat, 25 May 2002 09:45:24 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrote:
> > From: CBFalconer <cbfalconer AT yahoo DOT com>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Fri, 24 May 2002 19:00:56 GMT
> >
... snip ...
> 
> > BTW a thought occurs to me - if the @ mechanism is to effectively
> > extend command lines, what is the effect of multiple @ in a single
> > command, e.g. "rm @foo @bar"?
> 
> They are all expanded one by one, using the same code.
> 
> In other words, the startup code loops through all the arguments it
> got from DOS, and processes each one with the code that expands
> wildcards, reads response files, etc.

I.E. the original demount I was executing, something like:

    rm -f @manifest\gcc2953b.mft
    rm -f @manifest\gpp2953b.mft

could have been written as:

    rm -f @manifest\gcc2953b.mft @manifest\gpp2953b.mft

(assuming I had typed the correct file names :-)

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!

- Raw text -


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