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


Groups > gnu.bash.bug > #15571

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

From Oğuz <oguzismailuysal@gmail.com>
Newsgroups gnu.bash.bug
Subject Incomplete command substitution in here-document not regarded as an error
Date 2019-11-07 00:37 +0300
Message-ID <mailman.779.1573076278.13325.bug-bash@gnu.org> (permalink)
References <CAH7i3Lp7ZQZj2FmXBa8fG8oY01GMbNKy916i1jcUt0eq57x8Tg@mail.gmail.com>

Show all headers | View raw


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

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web