I don't know you are the right person to ask, but I found you
committed some of 8bit cleaning in src/bin/sh.

Shell script which contains here-document of 8bit text sometimes dumps
core.  For example, please test this script in 4.1 or -current.

#!/bin/sh
cat <<EOF
[8bit text which contains 0x82 character]
EOF

And, if I use 'EOF' instead of EOF, it works fine.  Do you have any
idea about this behavior?

After at a glance of sources, 0x82 is used as CTLVAR control
character.  I think this should be escaped as CTLESC CTLVAR before
examining variable substitution whether here-docuement is quoted or
not.


-- 
Jun Kuriyama <[EMAIL PROTECTED]> // FreeBSD Project

8bit.sh.gz

Reply via email to