mirror of
https://github.com/opnsense/src.git
synced 2026-02-16 00:58:21 -05:00
Leading zeroes were ignored when checking whether a positional parameter is set, but not when expanding its value. Ignore leading zeroes in any case.
4 lines
80 B
Text
4 lines
80 B
Text
# $FreeBSD$
|
|
|
|
set -- "x$0" 2 3 4 5 6 7 8 9 "y$0"
|
|
[ "${01}.${010}" = "$1.${10}" ]
|