After running this on bash 5.0.9:

wc -c <<EOF
#
EOF

if I hit up arrow key, I get this:

wc -c <<EOF
#

EOF

(there is an extra blank line). Can't reproduce on bash 4.4.20 though

Reply via email to