bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Incomplete command substitution in here-document not regarded as an erro


From: Oğuz
Subject: Incomplete command substitution in here-document not regarded as an error
Date: Thu, 7 Nov 2019 00:37:41 +0300

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

[Prev in Thread] Current Thread [Next in Thread]