#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" PROGNAME="$0" die() { >&2 echo "error: $@" exit 1 } usage() { cat <