comp.lang.ada
 help / color / mirror / Atom feed
From: Keith Thompson <kst-u@mib.org>
Subject: Re: Command Line on windows
Date: Fri, 12 Sep 2008 09:31:20 -0700
Date: 2008-09-12T09:31:20-07:00	[thread overview]
Message-ID: <lnfxo5z5pj.fsf@nuthaus.mib.org> (raw)
In-Reply-To: bb3eag.tak.ln@hunter.axlog.fr

Jean-Pierre Rosen <rosen@adalog.fr> 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  <http://www.ghoti.net/~kst>
Nokia
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"



  reply	other threads:[~2008-09-12 16:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-12 12:05 Command Line on windows RasikaSrinivasan
2008-09-12 12:25 ` Gautier
2008-09-12 14:36   ` RasikaSrinivasan
2008-09-12 14:59     ` Gautier
2008-09-12 15:54       ` Jean-Pierre Rosen
2008-09-12 16:31         ` Keith Thompson [this message]
2008-09-12 17:00         ` Pascal Obry
2008-09-12 15:18 ` Jeffrey R. Carter
2008-09-12 15:27   ` Adam Beneschan
replies disabled

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