Enhancement: Encourage set -euo pipefail for robustness
Bug #1722879 reported by
mcandre
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash8 |
New
|
Undecided
|
Unassigned |
Bug Description
Bash offers several debugging options to increase script reliability and better reporting. Could bashate offer an optional warning to encourage set -euo pipefail to be applied to bash scripts?
set -euo pipefail can be supplied as arguments to the bash shebang interpreter, though it is probably best to run this command as the first line after the shebang, for portability to systems with restricted shebang semantics.
To post a comment you must log in.