Open
Description
Should bash strict mode be recommended as good practice? See http://redsymbol.net/articles/unofficial-bash-strict-mode/ which uses:
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
Personally I use set -e
most heavily, and generally just use the one line set -euo pipefail
after the hash-bang.
Originally raised as swcarpentry/shell-novice#251 but we agreed it was too advanced for the shell novice lesson.
Metadata
Metadata
Assignees
Labels
No labels