[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Windows query
- From: Dirk Laurie <dirk.laurie@...>
- Date: Fri, 29 Jan 2016 09:15:51 +0200
2016-01-29 8:53 GMT+02:00 Philipp Janda <firstname.lastname@example.org>:
> If your program reads a Windows-formatted text file under Linux, then yes,
> there will be "\r" characters. The other combinations won't have "\r"
No, what I mean is: if it reads a Windows-formatted text file
under _Windows_ in one go, with "*a", do the two-character line
endings get converted into one-character line endings?
(I know that the portable way is "lines", I'm just wondering
how portable :read"*a" is.)