mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
It is likely that $'\uXXXX' and $'\UXXXXXXXX' will allow fewer digits in future. However, no digits at all should still be disallowed.
7 lines
161 B
Text
7 lines
161 B
Text
# $FreeBSD$
|
|
|
|
# \u without any digits at all remains invalid.
|
|
# Our choice is a parse error.
|
|
|
|
v=$( (eval ": \$'\u'") 2>&1 >/dev/null)
|
|
[ $? -ne 0 ] && [ -n "$v" ]
|