Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Re: Inconsistent behavior of ERR_EXIT with conditionals



On Mon, Nov 7, 2022 at 1:45 AM Peter Stephenson
<p.w.stephenson@xxxxxxxxxxxx> wrote:
>
> On 07/11/2022 05:35 Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> > There is the question of why ignoring a false status at the end of a
> > complex command has so far been considered correct for ERR_EXIT,
> > according to C03.  This is a disagreement with e.g. bash.
>
> I can only guess it's gone under the radar before.  I don't think
> the change is actually controversial.

Then we need to figure out why the test harness C03 does the wrong
thing, because it implies there's some situation not covered by the
patch.  It's hard to debug it when I can't find a reproducer outside
the test harness.




Messages sorted by: Reverse Date, Date, Thread, Author