xref: /freebsd/bin/sh/tests/expansion/length8.0 (revision f4b37ed0f8b307b1f3f0f630ca725d68f1dff30d)
1# $FreeBSD$
2
3unset LC_ALL
4LC_CTYPE=en_US.ISO8859-1
5export LC_CTYPE
6
7# a umlaut
8s=$(printf '\303\244')
9# euro sign
10s=$s$(printf '\342\202\254')
11# some sort of 't' outside BMP
12s=$s$(printf '\360\235\225\245')
13set -- "$s"
14[ ${#s} = 9 ] && [ ${#1} = 9 ]
15