bug-bash
[Top][All Lists]
Advanced

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

Re: 5.1 regression?


From: Chet Ramey
Subject: Re: 5.1 regression?
Date: Mon, 1 Aug 2022 11:41:50 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

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    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

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