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. To clarify it, I suggest to change the last sentence from
The result is supplied as a single string to the command on its standard input. to The result with a newline appended is supplied as a single string to the command on its standard input. -- Best regards, Dietmar Schindler ________________________________ manroland web systems GmbH -- Managing Director: Joern Gosse Registered Office: Augsburg -- Trade Register: AG Augsburg -- HRB-No.: 26816 -- VAT: DE281389840 Confidentiality note: This eMail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you have received this eMail in error, then please delete this eMail. ! Please consider your environmental responsibility before printing this eMail ! ________________________________