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

Message-ID: <3CEF0A9A.606EED6E@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> <200205241934 DOT g4OJYx307264 AT envy DOT delorie DOT com>
Lines: 24
Date: Sat, 25 May 2002 04:39:18 GMT
NNTP-Posting-Host: 12.90.168.227
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 1022301558 12.90.168.227 (Sat, 25 May 2002 04:39:18 GMT)
NNTP-Posting-Date: Sat, 25 May 2002 04:39:18 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

DJ Delorie wrote:
> 
> > Which means that "rm @foo" cannot mean to remove the file "@foo",
> > because if it exists it is an extended command line, and if it
> > doesn't it becomes an argument.
> 
> That's not how it works.  If the file "foo" exists, then "@foo" means
> to read foo's contents.  If "foo" doesn't exist, then "@foo" means the
> string "@foo" will be used as an argument as-is.
> 
> The existence of file "@foo" will not cause the argument "@foo" to
> become an extended command line.

Not for the first time I have gone off half cocked :-).  I don't
have an answer, but I do prefer operator errors to result in some
sort of message.  I will probably remember this one for at least a
few months.

-- 
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