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=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!backlog4.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Will Ada-95 Programs Written in MS Windows Run in MacOS and Linux Without Some Tweaking. Date: Sun, 08 Dec 2013 14:20:46 -0700 Organization: Also freenews.netfront.net; news.tornevall.net Message-ID: References: <1d445f04-b670-444f-9858-55da271fe17a@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 8 Dec 2013 21:20:48 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="d716681e5561c3b384255e38d5f024ca"; logging-data="31158"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+gUmWdFL70Zz0HDmbk048GqrJJMek7US0=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: Cancel-Lock: sha1:qjzhZUZKjpzcTAzPDGAPA2qKVCQ= X-Original-Bytes: 2082 Date: 2013-12-08T14:20:46-07:00 List-Id: On 12/08/2013 01:00 PM, Simon Wright wrote: > Jeffrey Carter writes: > >> However, files in "Mac format" (CR for line terminator) don't work >> with Text_IO under Linux. > > That's a very old 'Mac format', of course. Unix-style nowadays. Yes, certainly, but I encountered it in the last couple of years. It was a file output by Excel, IIRC, and the user had specified "Mac format" by accident. To the Get_Line function it looked like a single, 5M-character string. -- Jeff Carter "Spam! Spam! Spam! Spam! Spam! Spam! Spam! Spam!" Monty Python's Flying Circus 53