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

Re: Inconsistent behavior of ERR_EXIT with conditionals



On Wed, Nov 9, 2022 at 6:22 AM Philippe Altherr
<philippe.altherr@xxxxxxxxx> wrote:
>>
> If you think that ERR_EXIT achieves my goal, then it would be useful if you could give me an example of a legitimate use of/reliance on ERR_EXIT.

I don't think ERR_EXIT achieves your goal, no, and I don't think it
was intended to.

One example of a legitimate use of ERR_EXIT is to implement (shelling
out from) "make -k" where each command is distinct and you want the
build process to stop if one step is incomplete.

> If I fail to convince you that ERR_EXIT does not achieve my goal, then too we can stop the discussion.

I'm going to stop responding anyway, because I'm not interested in the
stated goal.  If others want to pursue this discussion, please go
ahead.




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