How do I get the effect and usefulness of “set -e” inside a shell function?
From documentation of set -e: When this option is on, if a simple command fails for any of the reasons listed in Consequences of Shell Errors or returns an exit status value > 0, and is not part of the compound list following a while, until, or if keyword, and is not a part of … Read more