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

Re: ERR_RETURN doc



Philippe Altherr wrote on Thu, Dec 01, 2022 at 20:30:22 +0100:
> Yep, that remains correct. Same for ERR_EXIT.
> 
> Most(/All?) of the patches address cases where the implementation wasn't
> following the specification.
> 

Shouldn't docs of ERR_EXIT explicitly mention that «! true» does not
cause an exit?

> The patch about the always statement makes it behave like compound
> statements. Since the always statement isn't part of POSIX, this could be
> seen either as a bug fix or a spec change (but rather of the always
> statement than of ERR_EXIT).
> 
> Philippe
> 
> 
> On Thu, Dec 1, 2022 at 5:30 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
> wrote:
> 
> > On Thu, Dec 1, 2022 at 6:42 AM Philippe Altherr
> > <philippe.altherr@xxxxxxxxx> wrote:
> > >
> > > https://zsh.sourceforge.io/Doc/Release/Options.html#index-ERRRETURN.
> >
> > Will that doc remain correct with respect to what it says about
> > ERR_EXIT after recent patches are considered?
> >
> > (Still on my TODO list, have been busier than I expected so far this week.)
> >




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