freebsd-dev/bin/sh/tests/parameters/optind2.0

4 lines
67 B
Plaintext

# $FreeBSD$
[ "$(OPTIND=42 ${SH} -c 'printf %s "$OPTIND"')" = 1 ]