summary refs log tree commit diff
path: root/bin/1sh/tests/parser/dollar-quote10.0
blob: fdcabbb334d69fcb4074e9fb2a65fbdf86afc7c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# $FreeBSD: releng/12.1/bin/sh/tests/parser/dollar-quote10.0 221669 2011-05-08 17:40:10Z jilles $

# a umlaut
s=$(printf '\303\244')
# euro sign
s=$s$(printf '\342\202\254')

# Start a new shell so the locale change is picked up.
ss="$(LC_ALL=en_US.UTF-8 ${SH} -c "printf %s \$'\u00e4\u20ac'")"
[ "$s" = "$ss" ]