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

Re: 'set -e' with '!' POSIX issue



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.



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