hush: fix heredoc handling in the "cmd <<EOF ;<newline>" case
function old new delta parse_stream 2759 2787 +28 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
1 parent
d73cdbf84c
commit
3675c37b9b
7 files changed
+50
-24
No files matched your search
@@ -0,0 +1 @@
|
||||
hello
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
echo hello >greeting
|
||||
cat <<EOF &&
|
||||
$(cat greeting)
|
||||
EOF
|
||||
{
|
||||
echo $?
|
||||
cat greeting
|
||||
} >/dev/null
|
||||
rm greeting
|
||||
@@ -0,0 +1 @@
|
||||
Ok
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
{ cat <<EOF ;
|
||||
Ok
|
||||
EOF
|
||||
}
|
||||
Reference in new issue
Block a user