270410ae89dac1d7f1c07c8c70d0c6e709572b60
[mirrors/Programs.git] / bash / getopts.sh
1 #!/bin/sh
2
3 while getopts "a:b:c:d:" OPT; do
4 echo "$OPT ==> $OPTARG";
5 done
6
7 shift $(($OPTIND -1)); echo "Rest: $@";
This page took 0.229022 seconds and 3 git commands to generate.