summary refs log tree commit diff
path: root/bin/cash/tests/parser/dollar-quote9.0
blob: df64b7dfc0b1989098a3a51ef99f7143077716da (plain) (blame)
1
2
3
4
5
6
7
8
# $FreeBSD$

# POSIX and C99 say D800-DFFF are undefined in a universal character name.
# We reject this but many other shells expand to something that looks like
# CESU-8.

v=$( (eval ": \$'\uD800'") 2>&1 >/dev/null)
[ $? -ne 0 ] && [ -n "$v" ]