$OPTIND
–
Index of Last Argument Processed by getopts
$OPTIND contains the index of the last option argument processed by the getopts builtin.
Default value: 1.
Links
BashSupport Pro ist eine Zsh IDE mit Unterstützung für $OPTIND - probieren Sie es jetzt aus!