Enhancement: Encourage set -euo pipefail for robustness

Bug #1722879 reported by mcandre
8
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.