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: 103376,16b5f96c922749ee X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!195.114.241.69.MISMATCH!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mail From: Keith Thompson Newsgroups: comp.lang.ada Subject: Re: Command Line on windows Date: Fri, 12 Sep 2008 09:31:20 -0700 Organization: None to speak of Message-ID: References: <9516d238-9e52-4de4-9993-590472a1ffba@w7g2000hsa.googlegroups.com> <48ca5fd4$1_7@news.bluewin.ch> <723c80f5-7df4-4bca-b07b-58a5a5aeb60d@i76g2000hsf.googlegroups.com> <48ca83d8$1_2@news.bluewin.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: feeder.motzarella.org U2FsdGVkX18XR61STdqcsranOBj9/FGmQKoyGCkQk+cm4Dr6DAjgqevD14aIzo56CySR9hGhFKxeHO8vvBxiONhgOw4a7dXiP29kADuF7Q8B1Hzp/GpC3b8urDWQBaUbY0CXJcyC48U= X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Fri, 12 Sep 2008 16:31:20 +0000 (UTC) X-Auth-Sender: U2FsdGVkX19u0GC/3g53707OkeQSRzeB Cancel-Lock: sha1:sAYvZIlhdJalMz5PwQJQP+1YB4Y= sha1:IKmFMsH6QIkN364Y5LhUnohN6ik= User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (gnu/linux) Xref: g2news1.google.com comp.lang.ada:2003 Date: 2008-09-12T09:31:20-07:00 List-Id: Jean-Pierre Rosen writes: > Gautier a �crit : >>> any other ideas? >> Maybe look in the run-time library sources (body of >> GNAT.Command_Line and further). I guess it calls a GNU function that >> expands the wildcards and there is an option or another function >> that doesn't. >> If you find something, I'm curious about the solution (same problem >> for the zipada / unzipada utilities). >> G. > AFAIK, the problem is not with Gnat, but with cygwin. It does the > expansion as Unix would have done, to ease portability for Unix > applications. Well, this is an explanation, but no solution... I don't think the original poster mentioned Cygwin. If he is using Cygwin, the solution is to escape the wildcard: some_command "foo*" some_command 'foo*' some_command foo\* But if he's not using Cygwin, he's probably invoking the command from a Windows command prompt -- and in that case I don't know of a solution. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Nokia "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"