5 export LC_CTYPE=en_US.ISO8859-1
10 while [ "$i" -le 255 ]; do
11 # A different byte still in the range 1..255.
13 # Add a character to work around command substitution's removal of
14 # final newlines, then remove it again.
15 c=$(printf \\"$(printf %o@ "$i")")
17 c2=$(printf \\"$(printf %o@ "$i2")")
20 [\'$nl'$}();&|\"`']) c=M
23 [\'$nl'$}();&|\"`']) c2=N
26 command eval "set -- \${\$+$c2$c$c2$c$c2}"
27 if [ "$#" -ne 3 ] || [ "$1" != "$c2" ] || [ "$2" != "$c2" ] ||
28 [ "$3" != "$c2" ]; then
29 echo "Bad results for separator $i (word $i2)" >&2
34 exit $((failures > 0))