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!nntp.giganews.com!wns14feed!worldnet.att.net!204.71.34.3!newsfeed.cwix.com!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!feeder2.news.saunalahti.fi!feeder1.news.saunalahti.fi!nntp.inet.fi!central1.inet.fi!inet.fi!read3.inet.fi.POSTED!53ab2750!not-for-mail Sender: AWI003@FIW9752 Newsgroups: comp.lang.ada Subject: Re: Ada.Command_Line and wildcards References: <45dcaed8_6@news.bluewin.ch> <1172132169.423514.271890@s48g2000cws.googlegroups.com> <87hctei5pf.fsf@ludovic-brenta.org> From: Anders Wirzenius Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 Feb 2007 05:06:01 GMT NNTP-Posting-Host: 194.251.142.2 X-Complaints-To: abuse@inet.fi X-Trace: read3.inet.fi 1172207161 194.251.142.2 (Fri, 23 Feb 2007 07:06:01 EET) NNTP-Posting-Date: Fri, 23 Feb 2007 07:06:01 EET Organization: Sonera corp Internet services Xref: g2news2.google.com comp.lang.ada:9442 Date: 2007-02-23T05:06:01+00:00 List-Id: "Randy Brukardt" writes: > > Thus I conclude that the Unix shell behavior (especially as it is not > consistent, in that an exec'd program doesn't get the benefit, so the > application has to be prepared to handle wildcards anyway -- or be stupidly > fragile) is harmful, as it makes the user care about irrelevant > implementation details. > > Randy. ... so one can ask why the design was not done the opposite way: If you want to have the shell to expand, use an option (like find -x *.adb), else the parameter is passed as such to the application. -- Anders