Skip to content

Instantly share code, notes, and snippets.

@ElijahLynn
Created March 12, 2025 05:43
Show Gist options
  • Save ElijahLynn/19bcc9bac35a343c9f3f07adba3ed4da to your computer and use it in GitHub Desktop.
Save ElijahLynn/19bcc9bac35a343c9f3f07adba3ed4da to your computer and use it in GitHub Desktop.
bash strict mode, with a good concise comment
# enable bash strict mode: exit on error (-e), undefined variables (-u), & pipe failures (-o pipefail)
set -euo pipefail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment