Message-ID: <3CEF0A9A.606EED6E@yahoo.com> From: CBFalconer 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: <3CED528D DOT 7DCF9660 AT yahoo DOT com> <3CED6BA6 DOT 48D4D0FE AT phekda DOT freeserve DOT co DOT uk> <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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. USE worldnet address!