On 8/1/22 4:17 AM, Robert Elz wrote:

   | a colleague pointed me to a changed behavior of bash 5.1.4 in Debian 11.

The change is probably related to a change in the way bash implements
here documents (temp files vs pipes), but

Here's the first message in the thread that prompted that change:

https://lists.gnu.org/archive/html/bug-bash/2019-03/msg00073.html

It continued into the next month:

https://lists.gnu.org/archive/html/bug-bash/2019-04/msg00007.html

Suffice it to say that there are other considerations: security, using
here documents without any write-mounted file systems, whether or not
using pipes for here-documents can lead to deadlock when using builtins,
and in general whether or not you should write programs that depend on
a particular implementation.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to