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