`set -e` doesn't abort the script when a sub-shell fails as part of `export`
96525
Bash export ignores set -ex
70247
why can't `_` be exported to the environment of bash?
37805
Why does set -e not work inside subshells with parenthesis () followed by an OR list ||?
82577
How to stop a script from running if it's not root (and echo "Not running as root! Exiting...")
141523
Force a shell script to fflush
83435
In which system file does 'export' command make changes?
51233
How do I prompt for Yes/No/Cancel input in a Linux shell script?
40145
Is it possible to tell pdflatex to terminate after the first error?
112170
What does --shell-escape do?
134648
find exec '{}' not available after >
103249
error in shell scripting?
33503
Why doesn't exec work in a function with a subfunction?
12795
Getting "ensure" / "finally" functionality in a shell command (not script)?
91653
Why does `at` warn me that commands will be executed using /bin/sh? What if I want a different shell?
79185
Is assert(false) ignored in release mode?
97081
exit shell script from a subshell
130039
Why does using `yes` on bash pipelines *not* cause infinite loops?