Skip to content

Instantly share code, notes, and snippets.

@wolever
Created July 3, 2013 20:33
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wolever/5922558 to your computer and use it in GitHub Desktop.
Save wolever/5922558 to your computer and use it in GitHub Desktop.
My bash script skeleton.
#!/bin/bash
IFS="`printf "\n\t"`"
set -eux
cd "$(dirname "$0")"
@Ry4an
Copy link

Ry4an commented Jul 3, 2013

Nice. I swear by set -eu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment