Lines Matching refs:var
16 var=QWERTY
17 while getopts "ab" var -a -b c; do
18 echo "var:'$var' OPTIND:$OPTIND"
21 echo "exited: rc:$? var:'$var' OPTIND:$OPTIND"
26 while getopts "ab" var -a -b c; do
27 echo "var:'$var' OPTIND:$OPTIND"
29 echo "exited: rc:$? var:'$var' OPTIND:$OPTIND"
34 while getopts "ab" var -a -b c; do
35 echo "var:'$var' OPTIND:$OPTIND"
37 echo "exited: rc:$? var:'$var' OPTIND:$OPTIND"
42 while getopts "ab" var -a -b c; do
43 echo "var:'$var' OPTIND:$OPTIND"
45 echo "exited: rc:$? var:'$var' OPTIND:$OPTIND"
50 getopts "ab" var -a -b c; echo "1 rc:$? var:'$var' OPTIND:$OPTIND"
51 getopts "ab" var -a -b c; echo "2 rc:$? var:'$var' OPTIND:$OPTIND"
52 getopts "ab" var -a -b c; echo "3 rc:$? var:'$var' OPTIND:$OPTIND"
57 while getopts "ab" var -a c -c -b d; do
58 echo "var:'$var' OPTIND:$OPTIND"
60 echo "exited: rc:$? var:'$var' OPTIND:$OPTIND"
65 while getopts "ab" var -a -c -b d; do
66 echo "var:'$var' OPTIND:$OPTIND"
68 echo "exited: rc:$? var:'$var' OPTIND:$OPTIND"
74 while getopts "ab" var -a -c -b d; do
75 echo "var:'$var' OPTIND:$OPTIND"
77 echo "exited: rc:$? var:'$var' OPTIND:$OPTIND"