Lines Matching refs:OPTIND
44 OPTIND=1
49 OPTIND=1
54 OPTIND=1
56 do [[ $OPTIND == $((OPTIND)) ]] || err_exit "OPTIND optimization bug"
67 do OPTIND=1
270 OPTIND=1
345 $SHELL -c 'OPTIND=-1000000; getopts a opt -a' 2> /dev/null
346 [[ $? == 1 ]] || err_exit 'getopts with negative OPTIND not working'
388 OPTIND=0
392 if [[ $OPTIND != ${ARGC[$i]} ]]
393 then err_exit "\$OPTIND after getopts loop incorrect -- expected ${ARGC[$i]}, got $OPTIND"