Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
ERR_EXIT behavior inconsistent with other shells
- X-seq: zsh-workers 6297
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: ERR_EXIT behavior inconsistent with other shells
- Date: Mon, 17 May 1999 00:08:02 -0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
ARGV0=sh zsh -fexc 'testerrexit() { return 1; }; false || echo simplecommand; testerrexit || echo function'; echo $?
does this
+ false
+ echo simplecommand
simplecommand
+ testerrexit
+ return 1
1
Other shells seems to do this
ARGV0=sh ksh -fexc 'testerrexit() { return 1; }; false || echo simplecommand; te
sterrexit || echo function'; echo $?
+ false
+ echo simplecommand
simplecommand
+ testerrexit
+ echo function
function
0
zsh should conform at least in emulation modes.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author