]> git.saurik.com Git - apple/shell_cmds.git/blame - sh/tests/parser/dollar-quote4.0
shell_cmds-198.tar.gz
[apple/shell_cmds.git] / sh / tests / parser / dollar-quote4.0
CommitLineData
71aad674
A
1# $FreeBSD$
2
3unset LC_ALL
4LC_CTYPE=en_US.ISO8859-1
5export LC_CTYPE
6
7e=
8for i in 0 1 2 3 4 5 6 7 8 9 a b c d e f; do
9 for j in 0 1 2 3 4 5 6 7 8 9 a b c d e f; do
10 case $i$j in
11 00) continue ;;
12 esac
13 e="$e\x$i$j"
14 done
15done
16
17# Start a new shell so the locale change is picked up.
18ee="$(${SH} -c "printf %s \$'$e'")"
19[ "${#ee}" = 255 ] || echo length bad