[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Windows query
- From: Philipp Janda <siffiejoe@...>
- Date: Fri, 29 Jan 2016 13:08:54 +0100
Am 29.01.2016 um 12:09 schröbte Enrico Colombini:
On 29-Jan-16 11:49, Cezary H. Noweta wrote:
for example. However, I agree that \r alone is dangerous (i.e. when
counting lines of redirected output file containing many '\r's: ``[+
fine in general. Old Mac's line endings are not made by accident --- one
must be itching to do '\r' EOLs.
The Apple ][ also used \r... and file types :-)
An aside note: having to often write portable code, I set my
Windows-side editor (notepad++) to use \n only and disabled autocrlf in
git to avoid accidental binary files translation.
This is what I usually do as well, but there are certain files (in
particular batch files larger than 4k, I think) that need "\r\n" line