]> git.saurik.com Git - apple/shell_cmds.git/blob - sh/tests/builtins/getopts9.0
shell_cmds-198.tar.gz
[apple/shell_cmds.git] / sh / tests / builtins / getopts9.0
1 # $FreeBSD$
2
3 args='-ab'
4 getopts ab opt $args
5 echo $?:$opt:$OPTARG
6 for dummy in dummy1 dummy2; do
7 getopts ab opt $args
8 echo $?:$opt:$OPTARG
9 done