freebsd-nq/bin/sh/tests/builtins/getopts2.0
Jilles Tjoelker 4a9f41ec82 sh: Fix some unquoted variables in tests.
The builtins/getopts1.0 test failed if a single-character file existed in
the current directory.
2016-04-09 16:06:13 +00:00

7 lines
89 B
Plaintext

# $FreeBSD$
set - -ax
getopts ax option
set -C
getopts ax option
printf '%s\n' "$option"