Re: gawk Regression: CR characters are not stripped on Windows

2018-02-27 Thread Eric Blake
[urrgh - Cygwin's list policy in supplying reply-to makes it difficult to reply-to-all] On 02/27/2018 01:22 AM, Orgad Shaneh wrote: Hi, Cross-posting per Eli Zaretskii's request. CR characters used to be automatically stripped on Windows (MSYS2 and Cygwin environments). This is broken in 4.2.

Re: gawk Regression: CR characters are not stripped on Windows

2018-02-27 Thread Brian Inglis
On 2018-02-27 00:22, Orgad Shaneh wrote: > Cross-posting per Eli Zaretskii's request. > CR characters used to be automatically stripped on Windows (MSYS2 and > Cygwin environments). This is broken in 4.2.0. Cygwin binary mounts treat files as on Unix. You missed all the discussions in early 2017

Re: gawk Regression: CR characters are not stripped on Windows

2018-02-27 Thread Steven Penny
On Tue, 27 Feb 2018 12:13:37, Orgad Shaneh wrote: I see. This is however not true for MSYS2. Then I guess we will just keep this as a patch for MSYS2, which is already merged[1]? [1] https://github.com/Alexpux/MSYS2-packages/commit/c81d882b9838f8245603c7a8d5f8845eeadd6c2a yes, it is sad that

Re: gawk Regression: CR characters are not stripped on Windows

2018-02-27 Thread Houder
On Tue, 27 Feb 2018 09:22:18, Orgad Shaneh wrote: > Cross-posting per Eli Zaretskii's request. > > CR characters used to be automatically stripped on Windows (MSYS2 and > Cygwin environments). This is broken in 4.2.0. 4.2.0 (change was made in 4.1.4) Something for you to study (while Corin

Re: gawk Regression: CR characters are not stripped on Windows

2018-02-27 Thread Orgad Shaneh
On Tue, Feb 27, 2018 at 11:48 AM, Andrey Repin wrote: > Greetings, Orgad Shaneh! > >> 1. The gawk info page states that: > >>> Under MS-Windows, > ^^^ >>> 'gawk' (and many other text programs) silently >>> translates end-of-line '\r\n' to '\n' on input and '\n' to '\r\n' on >>> out

Re: gawk Regression: CR characters are not stripped on Windows

2018-02-27 Thread Andrey Repin
Greetings, Orgad Shaneh! > 1. The gawk info page states that: >> Under MS-Windows, ^^^ >> 'gawk' (and many other text programs) silently >> translates end-of-line '\r\n' to '\n' on input and '\n' to '\r\n' on >> output. > and on Feb 8 the following section was added: >> Recent v