xref: /freebsd/bin/sh/tests/parser/dollar-quote4.0 (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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