Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
TjWallas committed Jun 26, 2017
1 parent 2239a42 commit 5f524d9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cookiecutter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"dir_name": ".",
"script_name": "my_script"
}
13 changes: 13 additions & 0 deletions {{cookiecutter.dir_name}}/{{cookiecutter.script_name}}.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

# https://sipb.mit.edu/doc/safe-shell/
# GLOBBING IS NOT ALLOWED!!
set -euf -o pipefail

# https://stackoverflow.com/questions/2853803/in-a-shell-script-echo-shell-commands-as-they-are-executed
set -x

# http://redsymbol.net/articles/unofficial-bash-strict-mode/
IFS=$'\n\t'

# Code begins here...

0 comments on commit 5f524d9

Please sign in to comment.