xref: /freebsd/bin/sh/tests/parser/dollar-quote9.0 (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1
2# POSIX and C99 say D800-DFFF are undefined in a universal character name.
3# We reject this but many other shells expand to something that looks like
4# CESU-8.
5
6v=$( (eval ": \$'\uD800'") 2>&1 >/dev/null)
7[ $? -ne 0 ] && [ -n "$v" ]
8