]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - tools/regression/bin/sh/parser/dollar-quote4.0
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / tools / regression / bin / sh / parser / dollar-quote4.0
1 # $FreeBSD$
2
3 unset LC_ALL
4 LC_CTYPE=en_US.ISO8859-1
5 export LC_CTYPE
6
7 e=
8 for 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
15 done
16
17 # Start a new shell so the locale change is picked up.
18 ee="$(${SH} -c "printf %s \$'$e'")"
19 [ "${#ee}" = 255 ] || echo length bad