DEV Community

Discussion on: Handling Arguments in Bash Scripts

Collapse
 
rpalo profile image
Ryan Palo

Usually I see set -o errexit, set -o nounset, and set -o pipefail as safety catches. Ben is right on about set -x. That’s a great one for debugging. Googling or running ‘man set’ will give you a bunch more info :)