Borland TurboBASIC & TurboPASCAL stuff from 1998 when i started with programming...
[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.307506 seconds and 4 git commands to generate.