Skip to content

Instantly share code, notes, and snippets.

@burghardt
Created March 24, 2023 11:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save burghardt/a04bd80f986190dd16cf678300e11587 to your computer and use it in GitHub Desktop.
Save burghardt/a04bd80f986190dd16cf678300e11587 to your computer and use it in GitHub Desktop.
GNU BASH script header template with more reasonable defaults for writing robust scripts
#!/usr/bin/env bash
set -x
set -euCo pipefail
IFS=$'\n\t'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment