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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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.belwue.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Ada.Command_Line and wildcards Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <45dcaed8_6@news.bluewin.ch> <1172132169.423514.271890@s48g2000cws.googlegroups.com> <1172257457.802242.307050@j27g2000cwj.googlegroups.com> Date: Sat, 24 Feb 2007 21:26:10 +0100 Message-ID: NNTP-Posting-Date: 24 Feb 2007 21:25:53 CET NNTP-Posting-Host: 277f5a84.newsspool3.arcor-online.net X-Trace: DXC=R]AEP==B<^@WDmlTRbh@=IMcF=Q^Z^V3H4Fo<]lROoRAFl8W>\BH3YBJbPh_bC`T9DDNcfSJ;bb[EIRnRBaCd On Sat, 24 Feb 2007 14:22:07 -0500, Robert A Duff wrote: > "Hyman Rosen" writes: > >> On Feb 22, 8:15 pm, Robert A Duff >> wrote: >>> And I can't create a command that works like this: >>> search *.ada "some string" >> >> Huh? Why in the world not? The program knows how many arguments it >> has, and it can get to the last one as easily as the first! > > Yeah, I guess you're right about that. Sorry. Nope, you were right in principle. What about: search *.adb and *.ads but b~*.adb "some string" (I hate those b~*.adb files GNAT keeps on creating... (:-)) -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de