Bizarre interaction bug involving bash w/ lastpipe + Almquist 'wait'

2020-02-06 Thread Martijn Dekker
This is probably the strangest bug (or maybe pair of bugs) I've run into in nearly five years of breaking shells by developing modernish. I've traced it to an interaction between bash >= 4.2 (i.e.: bash with shopt -s lastpipe) and variants of the Almquist shell, at least: dash, gwsh, Busybox a

Re: Bizarre interaction bug involving bash w/ lastpipe + Almquist 'wait'

2020-02-06 Thread Harald van Dijk via Bug reports for the GNU Bourne Again SHell
On 06/02/2020 16:12, Martijn Dekker wrote: This is probably the strangest bug (or maybe pair of bugs) I've run into in nearly five years of breaking shells by developing modernish. I've traced it to an interaction between bash >= 4.2 (i.e.: bash with shopt -s lastpipe) and variants of the Almq

Re: Bizarre interaction bug involving bash w/ lastpipe + Almquist 'wait'

2020-02-06 Thread Robert Elz
Date:Thu, 6 Feb 2020 19:29:41 + From:Harald van Dijk Message-ID: | Nice test. Yes! | and the various ash-based shells do not unblock it. We do now, the fix for that will be in 9.0 when it is released. ("now" as in as of the past half hour...) | Because

Re: Bizarre interaction bug involving bash w/ lastpipe + Almquist 'wait'

2020-02-06 Thread Robert Elz
Date:Thu, 6 Feb 2020 16:12:06 + From:Martijn Dekker Message-ID: <10e3756b-5e8f-ba00-df0d-b36c93fa2...@inlv.org> | NetBSD sh behaves differently. NetBSD 8.1 sh (as installed on sdf.org | and sdf-eu.org) seem to act completely normally, but NetBSD 9.0rc2 sh