xref: /freebsd/bin/sh/tests/parser/dollar-quote4.0 (revision 5e3190f700637fcfc1a52daeaa4a031fdd2557c7)
1
2unset LC_ALL
3LC_CTYPE=en_US.ISO8859-1
4export LC_CTYPE
5
6e=
7for i in 0 1 2 3 4 5 6 7 8 9 a b c d e f; do
8	for j in 0 1 2 3 4 5 6 7 8 9 a b c d e f; do
9		case $i$j in
10		00) continue ;;
11		esac
12		e="$e\x$i$j"
13	done
14done
15
16# Start a new shell so the locale change is picked up.
17ee="$(${SH} -c "printf %s \$'$e'")"
18[ "${#ee}" = 255 ] || echo length bad
19