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 fo
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 we
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 sh
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 neith
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 he
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 a
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 | o
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 o
8 matches
Mail list logo