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!news2.google.com!news.germany.com!news-zh.switch.ch!switch.ch!cernne03.cern.ch!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Ada.Command_Line and wildcards Date: Thu, 22 Feb 2007 14:49:37 +0100 Organization: CERN News Message-ID: References: <45dcaed8_6@news.bluewin.ch> <1172132169.423514.271890@s48g2000cws.googlegroups.com> NNTP-Posting-Host: abpc10883.cern.ch Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: cernne03.cern.ch 1172152177 23384 137.138.37.241 (22 Feb 2007 13:49:37 GMT) X-Complaints-To: news@@cern.ch NNTP-Posting-Date: Thu, 22 Feb 2007 13:49:37 +0000 (UTC) User-Agent: Thunderbird 1.5.0.9 (X11/20061220) In-Reply-To: Xref: g2news2.google.com comp.lang.ada:9409 Date: 2007-02-22T14:49:37+01:00 List-Id: Jean-Pierre Rosen wrote: > Too bad that Unix behaviour was wrong in the first place... I don't understand. Shell uses some special characters to make it easier for the user to type commands [1]. Wildcards are just an example. Consider this: $ cat *.ads *.adb | wc -l > loc.txt If you claim that * above should be passed "as is" to the program (cat), so that the program can figure out on itself what to do with it, then you might as well argue that the program should figure out *everything* above. Obviously, that wouldn't be funny. [1] Shells can compete on how well they do this job. -- Maciej Sobczak : http://www.msobczak.com/ Programming : http://www.msobczak.com/prog/