]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - bin/sh/tests/builtins/getopts9.0
Upgrade our copy of clang and llvm to 3.5.1 release. This is a bugfix
[FreeBSD/FreeBSD.git] / bin / 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