hush: fix backslash and terminator handling in <<[-]["]heredoc["]
authorDenys Vlasenko <dvlasenk@redhat.com>
Mon, 6 Sep 2010 09:27:32 +0000 (11:27 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Mon, 6 Sep 2010 09:27:32 +0000 (11:27 +0200)
commit77b32ccbf2a1a77911b486b673008a4cb82bb8b7
treec68a1bef8013018843321d6807aa87ca432808b1
parentc49d2d97939d77be3d1f3bbbbf9db30a55771c15
hush: fix backslash and terminator handling in <<[-]["]heredoc["]

function                                             old     new   delta
parse_stream                                        2339    2395     +56
expand_pseudo_dquoted                                104     118     +14
parse_stream_dquoted                                 296     300      +4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 74/0)               Total: 74 bytes

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
shell/hush.c
shell/hush_test/hush-misc/heredoc_backslash1.right [new file with mode: 0644]
shell/hush_test/hush-misc/heredoc_backslash1.tests [new file with mode: 0755]