Re: Ada.Command_Line and wildcards
- From: Jean-Pierre Rosen <rosen@xxxxxxxxx>
- Date: Thu, 22 Feb 2007 12:19:12 +0100
gautier_niouzes@xxxxxxxxxxx a écrit :
I think it is a gcc feature. Because gcc is often used to port Unix applications to Windows, the gcc library emulates Unix behaviour on windows.This is an OS (shell) issue, surely?
Alas, no.
I forgot to mention: I tested both programs on both Windows 98 and XP.
In both systems, the OA-compiled program gives "*.adb" and the GNAT-
compiled the list of files with ".adb" extension.
To Adrian, enclosing with '"' works, thanks, but then the syntax
differs from the usual one for a command-line tool...
I am just suprised by the GNAT behaviour, for two reasons:
- I did not find (or missed) something about it in the RM (95)
- there is also a GNAT.Command_Line that explicitely intends to do
wildcard expansions; so why also GNAT's Ada.Command_Line should do it,
silently ?
Too bad that Unix behaviour was wrong in the first place...
--
---------------------------------------------------------
J-P. Rosen (rosen@xxxxxxxxx)
Visit Adalog's web site at http://www.adalog.fr
.
- Follow-Ups:
- Re: Ada.Command_Line and wildcards
- From: Robert A Duff
- Re: Ada.Command_Line and wildcards
- From: Gautier
- Re: Ada.Command_Line and wildcards
- From: Adam Beneschan
- Re: Ada.Command_Line and wildcards
- From: Maciej Sobczak
- Re: Ada.Command_Line and wildcards
- References:
- Ada.Command_Line and wildcards
- From: Gautier
- Re: Ada.Command_Line and wildcards
- From: (see below)
- Re: Ada.Command_Line and wildcards
- From: gautier_niouzes
- Ada.Command_Line and wildcards
- Prev by Date: [OT] Broken threading (was RE: real_time.clock is not monotonic)
- Next by Date: Re: [OT] Broken threading (was RE: real_time.clock is not monotonic)
- Previous by thread: Re: Ada.Command_Line and wildcards
- Next by thread: Re: Ada.Command_Line and wildcards
- Index(es):
Relevant Pages
|