3 while getopts ":a:b:c:d:f" OPT
; do
4 echo "$OPT ==> $OPTARG";
8 '?') echo "Unknown option: -$OPTARG" >&2; exit 1;;
9 ':') echo "Missing option argument for -$OPTARG" >&2; exit 2;;
10 * ) echo "Unimplemented option: -$OPT" >&2; exit 3;;
15 shift $
(($OPTIND -1)); echo "Rest: $@";
This page took 0.406739 seconds and 4 git commands to generate.