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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6bf1c4b845bd2160 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!kanaga.switch.ch!switch.ch!news.belwue.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: What about a glob standard method in Ada.Command_Line ? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <4c73e859$0$6991$9b4e6d93@newsspool4.arcor-online.net> <4c73fcf6$0$6992$9b4e6d93@newsspool4.arcor-online.net> <1jxm50y65grlo.sjyb9hm4y1xp$.dlg@40tude.net> <4c743a59$0$6893$9b4e6d93@newsspool2.arcor-online.net> <4c74db09$0$6890$9b4e6d93@newsspool2.arcor-online.net> <1r82cxcws3pc9$.r40m8l3ttil7$.dlg@40tude.net> <4c74f9f6$0$6772$9b4e6d93@newsspool3.arcor-online.net> <17drl4b1ko4iv.1eccfudluzl5h.dlg@40tude.net> <4c7515fc$0$7664$9b4e6d93@newsspool1.arcor-online.net> <4c752693$0$7656$9b4e6d93@newsspool1.arcor-online.net> <17uj112bzfc47$.1jlqotsp6zuup.dlg@40tude.net> <4c753c0c$0$6877$9b4e6d93@newsspool2.arcor-online.net> <4c756481$0$6775$9b4e6d93@newsspool3.arcor-online.net> <4c75bc6d$0$6973$9b4e6d93@newsspool4.arcor-online.net> Date: Thu, 26 Aug 2010 10:49:20 +0200 Message-ID: <198k7jlp1nvhi$.1mq6mu1iorkpi$.dlg@40tude.net> NNTP-Posting-Date: 26 Aug 2010 10:49:17 CEST NNTP-Posting-Host: 0edb02cf.newsspool4.arcor-online.net X-Trace: DXC=g9AKjnRHBiCgj[ZPFj7ehO4IUK On Thu, 26 Aug 2010 02:59:25 +0200, Georg Bauhaus wrote: > You said, "You just do not need patterns in directory search." > Did this refer to the Pattern : String parameter of > (Start_)Search? There is no need in either pattern parameter or a filter call back function. What is needed is a proper abstraction that would define file name as sequence of code points = in an OS-independent way. Ada.Directories shall convert OS-specific encoding (actually there are many per OS, like in the case of Windows), when the directory entities are enumerated. All operations requiring file name shall convert it back. There are other self-evident requirements. But since it seems that nobody actually uses Ada.Directories, there will be no pressure on the ARG to fix it any soon. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de