xref: /freebsd/bin/sh/tests/parser/dollar-quote9.0 (revision a64729f5077d77e13b9497cb33ecb3c82e606ee8)
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