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