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,ced04d0f82bf1abe X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!newshub.sdsu.edu!sn-xt-sjc-02!sn-xt-sjc-01!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail From: "Phaedrus" Newsgroups: comp.lang.ada Subject: Re: Missing CR/LF in Gnat files? Date: Sun, 16 Sep 2007 15:15:43 -0700 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <13eraofa1im9667@corp.supernews.com> References: <13eomjrhjs3al0a@corp.supernews.com> <1189897537.544300.214650@g4g2000hsf.googlegroups.com> <13eoqg17ac9kp58@corp.supernews.com> <46ecbbdf$1_7@news.bluewin.ch> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Complaints-To: abuse@supernews.com Xref: g2news2.google.com comp.lang.ada:1959 Date: 2007-09-16T15:15:43-07:00 List-Id: Thanks for the ideas, I put together an admittedly-less-elegant solution, and now those files are back to readable. Kinda makes me wonder how the distribution could have included the unix version of the files, especially since they were win32-specific stuff... I'm not sure I wanna know. Cheers! Brian "Jeffrey R. Carter" wrote in message news:vKeHi.105741$Fc.31464@attbi_s21... > Gautier wrote: >> while not End_of_File(Standard_input) loop >> Get_Line(s,l); >> Put_Line(s(1..l)); >> end loop; > > Even better is > > Ada.Text_IO.Put_Line (Item => Ada.Text_IO.Get_Line); > > This is Ada 07; Ada-95 users can use PragmARC.Get_Line instead of > Ada.Text_IO.Get_Line; and Ada-83 users can modify PragmARC.Get_Line to get > rid of the hierarchical name. > > http://pragmada.home.mchsi.com/ > > -- > Jeff Carter > "Perfidious English mouse-dropping hoarders." > Monty Python & the Holy Grail > 10