5ddabb8348
Leading zeroes were ignored when checking whether a positional parameter is set, but not when expanding its value. Ignore leading zeroes in any case.
5 lines
80 B
Plaintext
5 lines
80 B
Plaintext
# $FreeBSD$
|
|
|
|
set -- "x$0" 2 3 4 5 6 7 8 9 "y$0"
|
|
[ "${01}.${010}" = "$1.${10}" ]
|