]>
Commit | Line | Data |
---|---|---|
71aad674 A |
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 |