diff options
author | Case Duckworth | 2015-04-01 16:29:46 -0700 |
---|---|---|
committer | Case Duckworth | 2015-04-01 16:29:46 -0700 |
commit | 61baf210a9d0d4fffcd82751ba3419dd2feb349d (patch) | |
tree | 577fe121f035854399f820c420eca38b60879156 /wip/backlink.sh | |
parent | Add Abstract and Process Narrative (diff) | |
download | autocento-61baf210a9d0d4fffcd82751ba3419dd2feb349d.tar.gz autocento-61baf210a9d0d4fffcd82751ba3419dd2feb349d.zip |
Revise a few poems in Elegies
Also add a .gitignore. How is this so late?
Diffstat (limited to 'wip/backlink.sh')
-rw-r--r-- | wip/backlink.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/wip/backlink.sh b/wip/backlink.sh new file mode 100644 index 0000000..dfbfe4b --- /dev/null +++ b/wip/backlink.sh | |||
@@ -0,0 +1,22 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | # Variables | ||
4 | OPTIND=1 | ||
5 | header="" | ||
6 | blacklist="" | ||
7 | |||
8 | while getopts "h:b:" opt; do | ||
9 | case "$opt" in | ||
10 | h) | ||
11 | header=$OPTARG | ||
12 | ;; | ||
13 | b) | ||
14 | blacklist=$OPTARG | ||
15 | ;; | ||
16 | esac | ||
17 | done | ||
18 | |||
19 | shift $((OPTIND - 1)) | ||
20 | |||
21 | echo "header = $header" | ||
22 | echo "blacklist = $blacklist" | ||