Lines Matching refs:var
14 var=QWERTY
15 while getopts "ab" var -a -b c; do
16 echo "var:'$var' OPTIND:$OPTIND"
19 echo "exited: rc:$? var:'$var' OPTIND:$OPTIND"
24 while getopts "ab" var -a -b c; do
25 echo "var:'$var' OPTIND:$OPTIND"
27 echo "exited: rc:$? var:'$var' OPTIND:$OPTIND"
32 while getopts "ab" var -a -b c; do
33 echo "var:'$var' OPTIND:$OPTIND"
35 echo "exited: rc:$? var:'$var' OPTIND:$OPTIND"
40 while getopts "ab" var -a -b c; do
41 echo "var:'$var' OPTIND:$OPTIND"
43 echo "exited: rc:$? var:'$var' OPTIND:$OPTIND"
48 getopts "ab" var -a -b c; echo "1 rc:$? var:'$var' OPTIND:$OPTIND"
49 getopts "ab" var -a -b c; echo "2 rc:$? var:'$var' OPTIND:$OPTIND"
50 getopts "ab" var -a -b c; echo "3 rc:$? var:'$var' OPTIND:$OPTIND"
55 while getopts "ab" var -a c -c -b d; do
56 echo "var:'$var' OPTIND:$OPTIND"
58 echo "exited: rc:$? var:'$var' OPTIND:$OPTIND"
63 while getopts "ab" var -a -c -b d; do
64 echo "var:'$var' OPTIND:$OPTIND"
66 echo "exited: rc:$? var:'$var' OPTIND:$OPTIND"
72 while getopts "ab" var -a -c -b d; do
73 echo "var:'$var' OPTIND:$OPTIND"
75 echo "exited: rc:$? var:'$var' OPTIND:$OPTIND"