Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11868

Re: Defect in manual section "Here Strings"

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Defect in manual section "Here Strings"
Date 2015-11-11 08:48 -0500
Message-ID <mailman.2119.1447249729.7904.bug-bash@gnu.org> (permalink)
References <208C6975C932E94F86239FEA59CCA632E0DBB716@AUSMXMBX02.mrws.biz>

Show all headers | View raw


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/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Defect in manual section "Here Strings" Chet Ramey <chet.ramey@case.edu> - 2015-11-11 08:48 -0500

csiph-web