bug-bash
[Top][All Lists]
Advanced

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

Re: AW: Defect in manual section "Here Strings"


From: Chet Ramey
Subject: Re: AW: Defect in manual section "Here Strings"
Date: Thu, 12 May 2016 10:12:31 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.0

On 5/12/16 7:13 AM, address@hidden wrote:

>> On 11/11/15 3:00 AM, address@hidden wrote:
>>> In the section 
>>> https://www.gnu.org/software/bash/manual/bash.html#Here-Strings there is no
>>> mention (as far as I can see, it doesn't follow from the documented 
>>> expansions etc.) that the
>>> result is terminated with a newline (see e. g. od <<<''). This puzzles 
>>> users and leads to
>>> speculation - see e. g. 
>>> http://stackoverflow.com/questions/33245568/why-does-bash-always-add-
>>> a-newline-when-expanding-here-strings - on correctness, dependability and 
>>> intent of the
>>> behavior.
>>
>> I'll add something to that effect.
> 
> I don’t want to seem pushy, but since it is now half a year since you wrote 
> that - do you still plan to add something?

I added something back in November, and it's been in the devel branch since
then.  It will be in bash-4.4.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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