On 1/4/23 1:21 AM, Carlos Prieto López wrote:

Bash Version: 5.1
Patch Level: 4
Release Status: release

Description:
        Errors are ignored when a command with error is assigned to a local variable on the same line of declaration.

This comes up often; just last month, in fact:

https://lists.gnu.org/archive/html/bug-bash/2022-12/msg00003.html

--
``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