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

Re: [PATCH] NEWS item about the ERR_EXIT fixes



On Sat, Dec 10, 2022, at 8:49 AM, Philippe Altherr wrote:

> Afaik, Zsh intends to be compatible with the POSIX "set -e" 
> specification 

On what are you basing this assertion?

> If that is indeed the case, then all the patches can be seen as bug 
> fixes.

I don't agree.  The documentation barely says anything about any
of the behaviors you modified, and zsh is not a POSIX-compatible
shell, so it's entirely reasonable for users to have accepted the
previous behavior as intentional.

> So no Zsh doc changes are required (or at least not because of 
> these patches).

This is only incidentally true.  The documentation omits many details
about ERR_EXIT's special cases, so your changes largely fall between
the lines (so to speak).

-- 
vq




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