[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trailing newlines disappear

From: Peter & Kelly Passchier
Subject: Re: Trailing newlines disappear
Date: Sat, 10 Jun 2017 00:40:56 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

On 09/06/2560 23:38, L A Walsh wrote:
> Chet Ramey wrote:
>>  Should mapfile silently drop the NULs?
> Maybe add a flag to ignore NUL bytes that could be used in the 'read'
> statement as well?  If not specified, keep same behavior?

That sounds like it might be useful.
It might be more desirable to change it to a newline instead of dropping
it? (Or both, with different flags??)

And how about a shell option to not omit trailing newlines in command
substitutions?? I find that very undesirable and unnecessary behaviour.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]