about summary refs log tree commit diff stats
path: root/wip/backlink.sh
diff options
context:
space:
mode:
Diffstat (limited to 'wip/backlink.sh')
-rw-r--r--wip/backlink.sh22
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
4OPTIND=1
5header=""
6blacklist=""
7
8while getopts "h:b:" opt; do
9 case "$opt" in
10 h)
11 header=$OPTARG
12 ;;
13 b)
14 blacklist=$OPTARG
15 ;;
16 esac
17done
18
19shift $((OPTIND - 1))
20
21echo "header = $header"
22echo "blacklist = $blacklist"