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!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed0.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn?= Persson Newsgroups: comp.lang.ada Subject: Re: Ada.Command_Line.Argument_Count question Followup-To: comp.lang.ada Date: Thu, 24 Sep 2009 02:31:36 +0200 Message-ID: <7hvsv8F2vbk5mU1@mid.individual.net> References: <4ab00009$0$282$14726298@news.sunsite.dk> <3ba36876-37c8-44ab-8f82-5fb7c7733163@l35g2000vba.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8Bit X-Trace: individual.net dG73SFlLap6kJMy02dC7DwzYsaio3vYhh7JLZbRhJ8oLPVQ7PL Cancel-Lock: sha1:B+fa9kmr38b/D2ZvxzADAuGphvY= User-Agent: KNode/4.3.1 Xref: g2news2.google.com comp.lang.ada:8443 Date: 2009-09-24T02:31:36+02:00 List-Id: Gautier write-only wrote: > I was disturbed that unzip (maybe other tools ?) won't give a warning > (maybe can't, because they can't know ?) when receiving the unexpanded > '*.adb' and expands its way, using the zip archive's name list. I don't understand what you think unzip should warn about. Warning about a strange looking filename with an asterisk in it makes no sense, as wildcards are a feature that has been added to unzip because it's useful. 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. -- Bj�rn Persson PGP key A88682FD