Searched refs:OPTOPT (Results 1 - 1 of 1) sorted by relevance

/macosx-10.10/bash-94.1.2/bash-3.2/examples/functions/
H A Dgetoptx.bash43 # and is always placed in OPTOPT variable
64 # OPTOPT -- set to the name of an option parsed,
144 OPTOPT="${opt%[;.:]}"
148 if [ ${#OPTOPT} -gt 1 ]
151 "--$OPTOPT")
156 let OPTERR && echo "$0: error: $OPTOPT must have an argument" >&2
157 OPTARG="$OPTOPT";
158 OPTOPT="?"
164 "--$OPTOPT="*)
167 let OPTERR && echo "$0: error: $OPTOPT mus
[all...]

Completed in 111 milliseconds