On Mon, Oct 07, 2013 at 11:01:11AM +0200, Bart?omiej Palmowski wrote:
> $ ( set -e; echo foo; false; echo bar; ) # this one is expected
> foo
> $ ( set -e; echo foo; false; echo bar; ) || true # this one is not expected
> foo
> bar

set -e is useless rubbish that should be avoided.
See http://mywiki.wooledge.org/BashFAQ/105 for details.

Bash is required to IMPLEMENT set -e because it's part of the POSIX
specification.  You are not required to USE it.

Reply via email to