bug-bash
[Top][All Lists]
Advanced

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

Re: Defect in manual section "Here Strings"


From: Chet Ramey
Subject: Re: Defect in manual section "Here Strings"
Date: Wed, 11 Nov 2015 08:48:39 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 11/11/15 3:00 AM, dietmar.schindler@manroland-web.com 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.
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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