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!news1.google.com!news.germany.com!newsfeed.utanet.at!newsfeed01.chello.at!newsfeed02.chello.at!news.hispeed.ch.POSTED!not-for-mail Message-Id: <1281455.i5JogXiQq3@linux1.krischik.com> From: Martin Krischik Subject: Re: Ada.Command_Line and wildcards Newsgroups: comp.lang.ada Date: Sun, 25 Feb 2007 17:42:10 +0100 References: <45dcaed8_6@news.bluewin.ch> <1172132169.423514.271890@s48g2000cws.googlegroups.com> <87hctei5pf.fsf@ludovic-brenta.org> User-Agent: KNode/0.10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@hispeed.ch Organization: hispeed.ch NNTP-Posting-Host: 84.73.230.248 (84.73.230.248) NNTP-Posting-Date: Sun, 25 Feb 2007 18:10:58 +0100 X-Trace: 9a24c45e1c322f1ec435d23577 Xref: g2news2.google.com comp.lang.ada:9528 Date: 2007-02-25T17:42:10+01:00 List-Id: Simon Wright wrote: > Anders Wirzenius writes: > >> ... 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. > > That sounds a very odd design. The shell would have to parse the > command line to see if there was an option requiring expansion. And > what if -x already had a meaning to the program? Actually the VMS *could* have done that as foreign commands or symbols are defined using a meta language called CLD (Command Language Definition) [1]. Great design but never fully exploited - like most of VMS :-( . Martin [1] http://en.wikipedia.org/wiki/DIGITAL_Command_Language -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com