help-bash
[Top][All Lists]
Advanced

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

Re: Strange behaviour of read builtin


From: M. Nejat AYDIN
Subject: Re: Strange behaviour of read builtin
Date: Thu, 2 Jul 2020 19:28:55 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

On 7/2/20 6:50 PM, Chet Ramey wrote:
On 7/2/20 11:19 AM, M. Nejat AYDIN wrote:

Perhaps by appending "without word splitting" or words to that effect

Kind of, but what read does isn't exactly word splitting in the presence
of fewer variable arguments than words read.

Maybe something like "the line read, without the ending delimiter but
otherwise unmodified, is assigned to the variable REPLY."


I agree. It is reasonably concise and reflects the intention clearly.


reply via email to

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