[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] set -e and CMD_IGNORE_RETURN question
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] set -e and CMD_IGNORE_RETURN question |
Date: |
Thu, 8 Mar 2018 15:02:26 -0500 |
> It is how POSIX defines set -e to work, which is based on the historical
> usage of this misfeature. It is not what you think it is. It exists
> only to support the continued lurching and shambling of legacy scripts.
set -e still exists to support `make' and `make -i'. I was reminded of this
plenty of times before the Posix text got fixed a few years back.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://tiswww.cwru.edu/~chet/