[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #46018] texi2any makes inconsistent EOL style
From: |
Gavin Smith |
Subject: |
Re: [bug #46018] texi2any makes inconsistent EOL style |
Date: |
Tue, 22 Sep 2015 19:46:16 +0100 |
On 22 September 2015 at 07:30, Eli Zaretskii <address@hidden> wrote:
> Follow-up Comment #1, bug #46018 (project texinfo):
>
> Your Texinfo source has DOS-style CRLF EOLs. So any text produced by texi2any
> has Unix-style EOLs, but text copied verbatim from your source has DOS EOLs.
> Remove the CR characters from your Texinfo source, and the problem will likely
> go away.
>
> In general, when using MSYS programs, you need to work with text files that
> have Unix EOLs, because MSYS programs use binary I/O which reads and writes CR
> characters without any conversions.
I believe there was some DOS or Windows system where texi2any would
open files in a mode where ends of lines would be read or written with
MS-DOS style EOL's (writing Info files was an exception); evidently
MSYS wasn't it.