Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20120922 Icedove/10.0.7
Hi Andreas,
On 10/16/2012 12:20 AM, Andreas Schwab wrote:
Nikolai Kondrashov<Nikolai.Kondrashov@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