]> git.saurik.com Git - apple/shell_cmds.git/blob - sh/tests/parser/dollar-quote10.0
shell_cmds-207.100.1.tar.gz
[apple/shell_cmds.git] / sh / tests / parser / dollar-quote10.0
1 # $FreeBSD: head/bin/sh/tests/parser/dollar-quote10.0 221669 2011-05-08 17:40:10Z jilles $
2
3 # a umlaut
4 s=$(printf '\303\244')
5 # euro sign
6 s=$s$(printf '\342\202\254')
7
8 # Start a new shell so the locale change is picked up.
9 ss="$(LC_ALL=en_US.UTF-8 ${SH} -c "printf %s \$'\u00e4\u20ac'")"
10 [ "$s" = "$ss" ]