]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - tools/regression/bin/sh/parser/dollar-quote9.0
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / tools / regression / bin / sh / parser / dollar-quote9.0
1 # $FreeBSD$
2
3 # POSIX and C99 say D800-DFFF are undefined in a universal character name.
4 # We reject this but many other shells expand to something that looks like
5 # CESU-8.
6
7 v=$( (eval ": \$'\uD800'") 2>&1 >/dev/null)
8 [ $? -ne 0 ] && [ -n "$v" ]