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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e219d94b946dfc26 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Ada.Command_Line and wildcards Date: Thu, 22 Feb 2007 12:02:07 +0100 Message-ID: <545bgvF1ttrphU1@mid.individual.net> References: <45dcaed8_6@news.bluewin.ch> <1172132169.423514.271890@s48g2000cws.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: individual.net V6LR6a7rrJEl/ZQLQEldrgl/EuDftquBIN5RtwDUIRHvaG+us= User-Agent: KNode/0.10.4 Xref: g2news2.google.com comp.lang.ada:9403 Date: 2007-02-22T12:02:07+01:00 List-Id: gautier_niouzes@hotmail.com wrote: >> This is an OS (shell) issue, surely? > > Alas, no. > I forgot to mention: I tested both programs on both Windows 98 and XP. It would be in unix. There, wildcard expansion is a shell matter. Windows only half-faked it. What I mean is that if your code is to be run outside of a windows platform, you'll not see wildcards in your arguments (unless you quote them, as someone else has pointed elsethread). But if gnat is deliberately doing expansion to emulate unix behavior, I guess that should be documented in windows platforms... > 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 ? > > G.