]> git.saurik.com Git - apple/shell_cmds.git/blame_incremental - sh/tests/builtins/getopts7.0
shell_cmds-216.60.1.tar.gz
[apple/shell_cmds.git] / sh / tests / builtins / getopts7.0
... / ...
CommitLineData
1# $FreeBSD: head/bin/sh/tests/builtins/getopts7.0 265844 2014-05-10 17:42:21Z jilles $
2
3set -- -x
4getopts :x: var
5r=$?
6[ r != 0 ] && [ "$OPTIND" = 2 ]