#!/bin/bash # Assume that this script is called from the Kranc/Bin directory export KRANCDIR=$(dirname $0)/.. export KRANCVERBOSE=no while getopts "v" flag do case $flag in "v") export KRANCVERBOSE=yes ;; esac done shift $(expr $OPTIND - 1) if [ $# -eq 0 ] then echo "Usage: $0 [-v]