cat <<EOF
$(seq 10
EOF

prints 1, while it should report a syntax error.

Can be reproduced on bash 4.4.20 and 5.0.11

Reply via email to