Hi Andreas,
On 10/16/2012 12:20 AM, Andreas Schwab wrote:
Nikolai Kondrashov<nikolai.kondras...@redhat.com> writes:
Actually, I'm writing it for myself and I want to *disable* errexit
temporarily for other's code
o=$-; set +e; ...; case $o in *e*) set -e;; esac
Thanks, I considered the usage of $- (only found it today). However, it also
includes command line options, apparently, and I wanted to save/restore all
set options (shall I call them "attributes"?), so decided it would be too
messy.
Sincerely,
Nick