Re: Execution of subsequent commands after a command crashes.
From:
Chet Ramey
Subject:
Re: Execution of subsequent commands after a command crashes.
Date:
Tue, 3 Feb 2026 09:37:13 -0500
User-agent:
Mozilla Thunderbird
On 2/2/26 10:29 PM, Robert Elz wrote:
ps: it is really dumb to use bash extensions when standard portable
POSIX shell code works equally well, "[[ $? -ne 0 ]]" is not in the
slightest different from "[ $? -ne 0 ]" and the latter will work in
any shell - so use the latter, not the former.
On the other hand, there's no problem with using bash features when
you're writing a bash script and don't have to be concerned about
portability.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/