On 11/11/15 3:00 AM, [email protected] 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 [email protected] http://cnswww.cns.cwru.edu/~chet/