Re: [ANNOUNCEMENT] Updated [test]: sed-4.4-1

2017-02-15 Thread Steven Penny
On Mon, 13 Feb 2017 13:15:18, Eric Blake wrote: > Yes, it means that any existing users that were lazily relying on the > forced text mode to automatically strip CRs will now have to fix their > scripts to add a d2u invocation, but I already hit some of that fallout > when I changed bash to quit

Re: [ANNOUNCEMENT] Updated [test]: sed-4.4-1

2017-02-13 Thread Eric Blake
On 02/12/2017 05:32 AM, Corinna Vinschen wrote: > I understand the desire but it's s a pretty tricky problem. awk is > used to manipulate text input in the first place so it treats all > input, files as well as stdin, as text. So, shall we drop this > behaviour for files only? Or for stdin as

Re: [ANNOUNCEMENT] Updated [test]: sed-4.4-1

2017-02-13 Thread Eric Blake
On 02/13/2017 09:53 AM, cyg Simple wrote: > On 2/13/2017 9:14 AM, Nellis, Kenneth (Conduent) wrote: >> From: Steven Penny >>> Perhaps I am missing something, but cant all that be said about Sed too? I >>> just cant see a situation where we are justified changing one and not the >>> other. They

Re: [ANNOUNCEMENT] Updated [test]: sed-4.4-1

2017-02-13 Thread cyg Simple
On 2/13/2017 9:14 AM, Nellis, Kenneth (Conduent) wrote: > From: Steven Penny >> Perhaps I am missing something, but cant all that be said about Sed too? I >> just cant see a situation where we are justified changing one and not the >> other. They should either both strip carriage returns or

RE: [ANNOUNCEMENT] Updated [test]: sed-4.4-1

2017-02-13 Thread Nellis, Kenneth (Conduent)
From: Steven Penny > Perhaps I am missing something, but cant all that be said about Sed too? I > just cant see a situation where we are justified changing one and not the > other. They should either both strip carriage returns or neither. How about grep? $ printf 'hello\r\nworld\r\n' | grep

Re: [ANNOUNCEMENT] Updated [test]: sed-4.4-1

2017-02-12 Thread Steven Penny
On Sun, 12 Feb 2017 12:32:22, Corinna Vinschen wrote: > awk is used to manipulate text input in the first place so it treats all > input, files as well as stdin, as text. So, shall we drop this > behaviour for files only? Or for stdin as well? How many existing > setups are bound to fail after

Re: [ANNOUNCEMENT] Updated [test]: sed-4.4-1

2017-02-12 Thread Corinna Vinschen
On Feb 11 15:01, Steven Penny wrote: > On Sat, 11 Feb 2017 11:06:17, "Eric Blake (cygwin)" wrote: > > I made a tweak that no longer automatically strips carriage returns from > > input on binary mounts > > This is great, but can we do it for Awk too? > > $ printf 'hello world\r\n' | awk 1 |

Re: [ANNOUNCEMENT] Updated [test]: sed-4.4-1

2017-02-11 Thread Steven Penny
On Sat, 11 Feb 2017 11:06:17, "Eric Blake (cygwin)" wrote: > I made a tweak that no longer automatically strips carriage returns from > input on binary mounts This is great, but can we do it for Awk too? $ printf 'hello world\r\n' | awk 1 | od -tcx1 000 h e l l o w

[ANNOUNCEMENT] Updated [test]: sed-4.4-1

2017-02-11 Thread Eric Blake (cygwin)
A new experimental release of sed, 4.4-1, has been uploaded and will soon reach a mirror near you; leaving the current version at 3.2.2-3. NEWS: = This is a new upstream release, packaged by a new maintainer. The release will be marked experimental for a few days, first because it was built