Cross Reference: optind2.0
xref
: /
freebsd-10.2-release
/
bin
/
sh
/
tests
/
parameters
/
optind2.0
Home
History
Annotate
Raw
Download
only in
/freebsd-10.2-release/bin/sh/tests/parameters/
Deleted
Added
sdiff
udiff
text
old ( 259846 )
new ( 262951 )
full
compact
optind2.0 (259846)
optind2.0 (262951)
1
# $FreeBSD:
head/bin/sh/tests/parameters/optind2.0 259846 2013-12-24 22:38:24Z jilles
$
1
# $FreeBSD:
stable/10/bin/sh/tests/parameters/optind2.0 262951 2014-03-09 17:04:31Z jmmv
$
2
3
[ "$(OPTIND=42 ${SH} -c 'printf %s "$OPTIND"')" = 1 ]
2
3
[ "$(OPTIND=42 ${SH} -c 'printf %s "$OPTIND"')" = 1 ]