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: a07f3367d7,6e64435d2a7280f2 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Ada.Command_Line.Argument_Count question References: <4ab00009$0$282$14726298@news.sunsite.dk> <3ba36876-37c8-44ab-8f82-5fb7c7733163@l35g2000vba.googlegroups.com> <7hvsv8F2vbk5mU1@mid.individual.net> <9c6b23c3-a1ab-4f73-a46f-2b0e2644d713@j9g2000prh.googlegroups.com> From: Stephen Leake Date: Fri, 25 Sep 2009 08:25:11 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt) Cancel-Lock: sha1:baDbgfpmT4v13x0AboBNSvSsLeE= MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 5cace4abcb6a6e197caa724360 Xref: g2news2.google.com comp.lang.ada:8466 Date: 2009-09-25T08:25:11-04:00 List-Id: Adam Beneschan writes: > On Sep 23, 5:31�pm, Bj�rn Persson wrote: > >> You might argue that programs that have their own pattern matching features >> should use a different set of special characters to distinguish the patterns >> from those that the shell expands, but that's a bad idea in my opinion. >> Having multiple different syntaxes makes it hard to remember when to use >> which syntax. > > Multiple syntaxes is a bad idea, but I've always wanted a way to add a > flag to certain executables to tell the shell "don't expand wildcards > when running this executable". That flag exists, but it's a shell feature, of course, since you are telling the shell to not do something. It's called "quotes". > Then you could actually write a command of the sort that exists on > other OS's: > > rename *.ada *.adb rename "*.ada *.adb" or rename "*.ada" "*.adb" -- -- Stephe