xref
: /
freebsd
/
bin
/
sh
/
tests
/
builtins
/
getopts7.0
(revision a5921bc3653e2e286715e6fe8d473ec0d02da38c)
Home
History
Annotate
Line#
Scopes#
Navigate#
Raw
Download
current directory
1
# $FreeBSD$
2
3
set -- -x
4
getopts :x: var
5
r=$?
6
[ r != 0 ] && [ "$OPTIND" = 2 ]
7