Home
last modified time | relevance | path

Searched refs:OPTIND (Results 1 – 25 of 90) sorted by relevance

1234

/titanic_41/usr/src/cmd/svc/shell/
H A Drouting_include.sh77 OPTIND=1
104 OPTIND=1
136 OPTIND=1
162 OPTIND=1
169 pos=$OPTIND
/titanic_41/usr/src/cmd/getopt/
H A Dgetoptcvt.sh42 shift `expr $OPTIND - 1`
47 if [ "$OPTIND" != 1 ]\
71 shift `expr $OPTIND - 1`\
107 shift `expr $OPTIND - 1`\
/titanic_41/usr/src/lib/brand/solaris10/zone/
H A Duninstall.ksh53 OPTIND=1
72 OPTIND=1
80 OPTIND=1
88 shift `expr $OPTIND - 1`
H A Dpreuninstall.ksh56 OPTIND=1
65 shift `expr $OPTIND - 1`
/titanic_41/usr/src/lib/libshell/common/tests/
H A Dbuiltins.sh44 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]} ]]
[all …]
H A Dfunctions.sh855 optind=$OPTIND
859 OPTIND=1
861 do print OPTIND=$OPTIND
865 [[ $(sub -a) == OPTIND=2 ]] || err_exit 'OPTIND should be 2'
866 [[ $(sub -a) == OPTIND=2 ]] || err_exit 'OPTIND should be 2 again'
867 [[ $OPTIND == "$optind" ]] || err_exit 'OPTIND should be 1'
/titanic_41/usr/src/tools/ndrgen/
H A Dndrgen.sh73 shift $(($OPTIND - 1))
79 shift $(($OPTIND - 1))
84 shift $(($OPTIND - 1))
/titanic_41/usr/src/cmd/lvm/util/
H A Dgrowfs.sh58 save=$OPTIND
81 OPTIND=$save
84 shift `expr $OPTIND - 1`
/titanic_41/usr/src/tools/scripts/
H A Dbldenv.sh41 OPTIND=0
134 OPTIND=1
150 shift $((OPTIND-1))
231 OPTIND=1
H A Dcheckproto.sh36 OPTIND=1
45 shift `expr $OPTIND - 1`
/titanic_41/usr/src/lib/libshell/common/scripts/
H A Dshlint.sh57 OPTIND=0
82 shift $((OPTIND-1))
H A Dshcalc.sh73 OPTIND=0
114 shift $((OPTIND-1))
H A Dcpvprint.sh74 OPTIND=0
125 shift $((OPTIND-1))
H A Dmultifollow.sh54 OPTIND=0
83 shift $((OPTIND-1))
H A Dsvcproptree1.sh96 OPTIND=0
130 shift $((OPTIND-1))
H A Dnumtree1.sh143 OPTIND=0
188 shift $((OPTIND-1))
H A Dshtinyurl.sh201 OPTIND=0
242 shift $((OPTIND-1))
H A Dsimplefileattributetree1.sh117 OPTIND=0
180 shift $((OPTIND-1))
H A Dfiletree1.sh156 OPTIND=0
192 shift $((OPTIND-1))
H A Dcrawlsrccomments.sh1010 shift $((OPTIND-1))
1070 shift $((OPTIND-1))
1137 OPTIND=0
1220 shift $((OPTIND-1))
/titanic_41/usr/src/cmd/boot/scripts/
H A Dextract_boot_filelist.ksh68 OPTIND=1
84 shift `expr $OPTIND - 1`
/titanic_41/usr/src/cmd/spell/
H A Dspell.sh68 while [ x${args[$OPTIND]#+} = x${args[$OPTIND]} ] && getopts ablvxi A
86 shift $(($OPTIND - 1))
/titanic_41/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/helptools/
H A Dparsehelp.sh56 shift $(($OPTIND - 1))
/titanic_41/usr/src/cmd/sgs/link_audit/common/
H A Dperfcnt.ksh72 shift `expr $OPTIND - 1`
H A Dsymbindrep.ksh67 shift `expr $OPTIND - 1`

1234