Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ERR_RETURN doc
- X-seq: zsh-workers 51168
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Philippe Altherr <philippe.altherr@xxxxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: ERR_RETURN doc
- Date: Sat, 10 Dec 2022 11:33:55 +0000
- Archived-at: <https://zsh.org/workers/51168>
- Feedback-id: i425e4195:Fastmail
- In-reply-to: <CAGdYcht2a6oDePU_ba1Y7TZuWmWY9ELtzq7KX8jjEfuz=Zi3SQ@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <5d0c4e22-80b0-2fd2-ee75-6902da52d121@eastlink.ca> <CAH+w=7aeERdOcpPzTmKVQFK7HLduh2s1J9VFzumCh6W0SJFqpg@mail.gmail.com> <57e8e248-bb1a-663a-8557-e3fc13f671d4@eastlink.ca> <CAH+w=7aW9meLuEKSGsKiZMXoAd7KBc9fgakXZnB_t2iphq=BPQ@mail.gmail.com> <e35c2f14-abda-93d7-bf2c-6823d6d3215d@eastlink.ca> <CAN=4vMrZzxYVjc63DwU=Scks39FhzmK+E57XerOwusmd64QOjw@mail.gmail.com> <c2f348d1-8982-d4a4-2c78-a0dd67319b8c@eastlink.ca> <CAGdYchv9T6ByD7meADqWzdJwAF2SG2YXhasT0=+AQvV+08ZRrA@mail.gmail.com> <CAH+w=7Z-JwDrBaQtsqGXabipPwjGgFy+K03y_JaXuPYKBQzU6A@mail.gmail.com> <CAGdYcht2a6oDePU_ba1Y7TZuWmWY9ELtzq7KX8jjEfuz=Zi3SQ@mail.gmail.com>
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