From: Martijn Dekker <martijn@inlv.org>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: 'set -e' with '!' POSIX issue
Date: Thu, 6 Oct 2016 13:22:10 +0200 [thread overview]
Message-ID: <f1673dfc-934f-52cc-0cda-5ab9fa41abbe@inlv.org> (raw)
In-Reply-To: <20161005144703.12fdf6c4@pwslap01u.europe.root.pri>
Op 05-10-16 om 15:47 schreef Peter Stephenson:
> Please reassure me that this is correct:
>
> % ./zsh -fc 'set -e; foo() { false && false; echo OK; }; foo; echo $?'
> OK
> 0
Looks correct to me. It's consistent with the POSIX description and
bash, (d)ash, yash, ksh93, mksh/pdksh all behave the same.
- M.
prev parent reply other threads:[~2016-10-06 11:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-02 10:01 Martijn Dekker
2016-10-02 17:55 ` Peter Stephenson
2016-10-04 7:45 ` Vincent Lefevre
2016-10-04 8:30 ` Peter Stephenson
2016-10-05 10:18 ` Martijn Dekker
2016-10-05 11:37 ` Peter Stephenson
2016-10-05 13:47 ` Peter Stephenson
2016-10-06 8:36 ` Peter Stephenson
2016-10-06 11:22 ` Martijn Dekker [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f1673dfc-934f-52cc-0cda-5ab9fa41abbe@inlv.org \
--to=martijn@inlv.org \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).