From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e219d94b946dfc26 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!news-out.cwix.com!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Ada.Command_Line and wildcards Date: 24 Feb 2007 07:04:14 -0600 Organization: LJK Software Message-ID: References: <45dcaed8_6@news.bluewin.ch> <1172132169.423514.271890@s48g2000cws.googlegroups.com> <545bgvF1ttrphU1@mid.individual.net> <1495406.QZvfpqijrQ@linux1.krischik.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1172322155 27467 192.135.80.34 (24 Feb 2007 13:02:35 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Sat, 24 Feb 2007 13:02:35 +0000 (UTC) Xref: g2news2.google.com comp.lang.ada:9486 Date: 2007-02-24T07:04:14-06:00 List-Id: In article <1495406.QZvfpqijrQ@linux1.krischik.com>, Martin Krischik writes: > Alex R. Mosteo wrote: > >>> Alas, no. >>> I forgot to mention: I tested both programs on both Windows 98 and XP. >> >> It would be in unix. There, wildcard expansion is a shell matter. Windows >> only half-faked it. > > No, The VMS also won't expand wildcard. In fact Unix shells are pretty alone > here. And they got it wrong. Bot Dos and VMS will warn you on: > > DEL *.* > > but not on > > DEL Some_File.Txt Actually, VMS will warn you about either of those, because the warning is not about wildcards but about not having specified which version(s) of the files should be deleted. Adding ;* will avoid the warning. In VMS the program calls a standard expansion routine to get each relevant filespec one at a time, only if wildcard filespecs are the goal. The command: $ SEARCH MY_TEXT.DAT *.* looks for the explicit string *.* in the file MY_TEXT.DAT without any (misguided) attempt to expand wildcards.