Cross Reference: getopts3.0
xref
: /
freebsd-12-stable
/
bin
/
sh
/
tests
/
builtins
/
getopts3.0
Home
History
Annotate
Line#
Navigate
Raw
Download
only in
/freebsd-12-stable/bin/sh/tests/builtins/
1
# $FreeBSD$
2
3
shift $#
4
getopts x opt
5
r=$?
6
[ "$r" != 0 ] && [ "$OPTIND" = 1 ]
7