Re: foo=bar baz=${|...;} cmd segfauls after running ...
From:
Chet Ramey
Subject:
Re: foo=bar baz=${|...;} cmd segfauls after running ...
Date:
Mon, 24 Mar 2025 16:19:34 -0400
User-agent:
Mozilla Thunderbird
On 3/23/25 7:37 PM, Emanuele Torre wrote:
If you run a simple command that runs something (not just assignments)
and contains an assignment word with ${|;} that is preceeded by at least
one other assignment word, bash segfaults.
Thanks for the report. The fix was a simple matter of swapping two lines
of code when setting up the funsub.
Chet
--
``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/