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!postnews.google.com!12g2000pri.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: Ada.Command_Line.Argument_Count question Date: Tue, 22 Sep 2009 18:07:22 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <4ab00009$0$282$14726298@news.sunsite.dk> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1253668042 5111 127.0.0.1 (23 Sep 2009 01:07:22 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 23 Sep 2009 01:07:22 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 12g2000pri.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8433 Date: 2009-09-22T18:07:22-07:00 List-Id: On Sep 22, 5:20=A0pm, Gautier write-only wrote: > On 22 sep, 22:00, Hyman Rosen wrote: > > > Gautier write-only wrote: > > > There are exceptions to that. If you type: > > > unzip archive.zip *.adb > > > the "*.adb" will, even on Unix, fortunately *not* be expanded... > > > Why do you believe this to be true? > > Because I've tested it just before posting: Linux (Fedora 8), GNU bash > 3.2.25. But did you read the rest of Hyman's sentence? I just tested it too, and "unzip archive *.adb" WILL expand *.adb, if there any *.adb files existing in the current directory. And csh won't work whether or not there are *.adb files. So it's definitely not correct to say that *.adb won't be expanded on Unix, because "Unix" is not a synonym for "Bourne shell". > But maybe there is a subtle difference between Linux and UNIX on that > point ? I don't think so. -- Adam