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 Path: g2news2.google.com!news1.google.com!news.germany.com!newsfeed.freenet.de!newsfeed01.chello.at!newsfeed02.chello.at!news.hispeed.ch.POSTED!not-for-mail Message-Id: <4646038.1EVsBNfMyZ@linux1.krischik.com> From: Martin Krischik Subject: Re: Ada.Command_Line and wildcards Newsgroups: comp.lang.ada Date: Sun, 25 Feb 2007 17:57:41 +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=iso-8859-15 Content-Transfer-Encoding: 8Bit 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:14:23 +0100 X-Trace: 99d2445e1c3eff1ec435d23577 Xref: g2news2.google.com comp.lang.ada:9529 Date: 2007-02-25T17:57:41+01:00 List-Id: Jacob Sparre Andersen wrote: > But if the programs do the expansion, you can be certain that the > expansion will differ from program to program. �Wouldn't that be > much more inconsistent than having known, uniform rules? �(even if > you don't like them) Well, all VMS programs I know of - apart from GNV [1] applications - expand the same way including [...]*.TXT expanding recursively. Something you won't get in unix where you need to guess which -r, -R, --recursive option gets you recursive behaviour. Actually: none - you will need: find . -iname "*.TXT" -print0 | xargs --null --no-run-if-empty my_command (did you allways remember to use: "--no-run-if-empty"). Again: the unix way is convenient at start but does not scale all that well for more complex problems. Martin [1] Note: GNAT for VMS is GNV application :-/ . -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com