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,e219d94b946dfc26 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!news.glorb.com!news.ecp.fr!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: Ada.Command_Line and wildcards Date: Thu, 22 Feb 2007 12:19:12 +0100 Organization: Adalog Message-ID: References: <45dcaed8_6@news.bluewin.ch> <1172132169.423514.271890@s48g2000cws.googlegroups.com> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1172145664 15642 195.25.228.57 (22 Feb 2007 12:01:04 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Thu, 22 Feb 2007 12:01:04 +0000 (UTC) User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) In-Reply-To: <1172132169.423514.271890@s48g2000cws.googlegroups.com> Xref: g2news2.google.com comp.lang.ada:9408 Date: 2007-02-22T12:19:12+01:00 List-Id: gautier_niouzes@hotmail.com a �crit : >> 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 ? > 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. Too bad that Unix behaviour was wrong in the first place... -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr