xref: /freebsd/bin/sh/tests/parser/dollar-quote10.0 (revision 13de33a5dc2304b13d595d75d48c51793958474f)
1*13de33a5SJulio Merino# $FreeBSD$
2*13de33a5SJulio Merino
3*13de33a5SJulio Merino# a umlaut
4*13de33a5SJulio Merinos=$(printf '\303\244')
5*13de33a5SJulio Merino# euro sign
6*13de33a5SJulio Merinos=$s$(printf '\342\202\254')
7*13de33a5SJulio Merino
8*13de33a5SJulio Merino# Start a new shell so the locale change is picked up.
9*13de33a5SJulio Merinoss="$(LC_ALL=en_US.UTF-8 ${SH} -c "printf %s \$'\u00e4\u20ac'")"
10*13de33a5SJulio Merino[ "$s" = "$ss" ]
11