Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15571 > unrolled thread

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

Started byOğuz <oguzismailuysal@gmail.com>
First post2019-11-07 00:37 +0300
Last post2019-11-07 00:37 +0300
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Incomplete command substitution in here-document not regarded as an error Oğuz <oguzismailuysal@gmail.com> - 2019-11-07 00:37 +0300

#15571 — Incomplete command substitution in here-document not regarded as an error

FromOğuz <oguzismailuysal@gmail.com>
Date2019-11-07 00:37 +0300
SubjectIncomplete command substitution in here-document not regarded as an error
Message-ID<mailman.779.1573076278.13325.bug-bash@gnu.org>
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

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web