hush: add a comment where we differ from bash wrt heredoc EOF mark handling

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2018-04-01 18:55:00 +02:00
parent 41fddb4372
commit bb6f573ad2
3 changed files with 8 additions and 15 deletions

View File

@@ -1,5 +0,0 @@
heredoc1
Ok1:0
heredoc2
EO`false`F
Ok2:0

View File

@@ -1,10 +0,0 @@
cat <<EO`true`F
heredoc1
EO`true`F
echo Ok1:$?
cat <<EO`true`F
heredoc2
EO`false`F
EO`true`F
echo Ok2:$?