hush: handle backslash-newline in heredoc terminators
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 24 Jul 2018 12:03:18 +0000 (14:03 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 24 Jul 2018 12:03:18 +0000 (14:03 +0200)
commitdfc739476343244371636d58561f7b743faf50d6
tree7e41ed6fa9688c819f4d525255402179af6e0d0f
parent474cb205554919e4d017b7aeb3722d6a4ffee41d
hush: handle backslash-newline in heredoc terminators

function                                             old     new   delta
fetch_heredocs                                       479     527     +48

(ash fails this test)

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash_test/ash-heredoc/heredoc_bkslash_newline2.right [new file with mode: 0644]
shell/ash_test/ash-heredoc/heredoc_bkslash_newline2.tests [new file with mode: 0755]
shell/hush.c
shell/hush_test/hush-heredoc/heredoc_bkslash_newline2.right [new file with mode: 0644]
shell/hush_test/hush-heredoc/heredoc_bkslash_newline2.tests [new file with mode: 0755]