1 # bug in bash up to and including bash-3.0 (including patches)
3 # problem is conflict between CTLNUL used internally to denote quoted null
4 # characters and its value (0x7f) appearing in the expansion of a variable
49 eval tmp=`printf "$'\\\\\x%x'\n" 127`
50 printf "%#1x\n" "'$tmp"
56 eval c=\$\'\\$(printf '%o' $a)\'
73 recho ${#q} "${q}" ${q}
106 DEL=`awk 'END{printf("%c", 0+127)}' </dev/null`
109 set -- x $(echo $T1|wc -c) $(echo $T2|wc -c); shift
113 *) echo CTLNUL bug: L1=$L1, L2=$L2;;
120 recho ggg"$(echo $x)"hhh
126 recho ggg"$(echo $x)"hhh
132 recho ggg"$(echo $1)"hhh
138 recho ggg"$(echo $1)"hhh
143 recho ggg"$(echo $'\177')"hhh