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