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