about summary refs log tree commit diff stats
path: root/wip/backlink.sh
blob: dfbfe4b184ad593f05fb511e4f7cba27b8a7aabc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

# Variables
OPTIND=1
header=""
blacklist=""

while getopts "h:b:" opt; do
    case "$opt" in
        h)
            header=$OPTARG
            ;;
        b)
            blacklist=$OPTARG
            ;;
    esac
done

shift $((OPTIND - 1))

echo "header = $header"
echo "blacklist = $blacklist"