4 LC_CTYPE=en_US.ISO8859-1
7 # Note: the first and last characters are not whitespace.
8 # Exclude backslash and newline.
9 bad1=`printf %03o \'\\\\`
14 for j in 0 1 2 3 4 5 6 7; do
15 for k in 0 1 2 3 4 5 6 7; do
17 000|$bad1|$bad2) continue ;;
24 [ "${#e}" = 253 ] || echo length bad
26 r1=`printf '%s\n' "$e" | { read -r x; printf '%s' "$x"; }`
27 [ "$r1" = "$e" ] || echo "read with -r bad"
28 r2=`printf '%s\n' "$e" | { read x; printf '%s' "$x"; }`
29 [ "$r2" = "$e" ] || echo "read without -r bad 1"
31 r3=`printf '%s\n' "$e" | { read x; printf '%s' "$x"; }`
32 [ "$r3" = "$e" ] || echo "read without -r bad 2"