comp.lang.ada
 help / color / mirror / Atom feed
From: Hyman Rosen <hyrosen@mail.com>
Subject: Re: Ada.Command_Line.Argument_Count question
Date: Tue, 22 Sep 2009 16:00:48 -0400
Date: 2009-09-22T16:00:48-04:00	[thread overview]
Message-ID: <R1aum.68052$u76.9239@newsfe10.iad> (raw)
In-Reply-To: <a0ae777b-e570-4aab-856d-f2492171acb5@p23g2000vbl.googlegroups.com>

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? I believe that the *.adb will
only not be expanded if there happen to be no files in the current
directory which match that pattern, and even then, only in certain
kinds of shells. Those based on the c-shell can give you an error
and not execute the program at all.

If you don't want filename expansion in UNIX, just quote:
     unzip archive.zip "*.adb"



  reply	other threads:[~2009-09-22 20:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-15 20:58 Ada.Command_Line.Argument_Count question 
2009-09-15 21:37 ` Gautier write-only
2009-09-16  6:21   ` 
2009-09-16 18:43   ` Keith Thompson
2009-09-22 19:52     ` Gautier write-only
2009-09-22 20:00       ` Hyman Rosen [this message]
2009-09-23  0:20         ` Gautier write-only
2009-09-23  1:07           ` Adam Beneschan
2009-09-23 13:03             ` Hyman Rosen
2009-09-23 16:06             ` Gautier write-only
2009-09-24  0:31               ` Björn Persson
2009-09-24  1:11                 ` Adam Beneschan
2009-09-25 12:25                   ` Stephen Leake
2009-09-15 21:55 ` Adam Beneschan
2009-09-16  6:20   ` 
2009-09-16 10:41 ` Jeffrey R. Carter
2009-09-17 13:50 ` John McCabe
2009-09-18  5:12   ` sjw
2009-09-18 15:03     ` John McCabe
2009-09-18 22:16       ` Robert A Duff
2009-09-21 15:09         ` John McCabe
2009-09-21 15:17           ` Dmitry A. Kazakov
2009-09-21 19:44           ` sjw
2009-09-22 11:01             ` John McCabe
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox