hush: fix handling of raw ^C in scripts: "echo ^C"
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 11 Jan 2018 11:39:48 +0000 (12:39 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 11 Jan 2018 11:39:48 +0000 (12:39 +0100)
commit932b9971d05d26e353f56bdd93daec3c9f764312
tree7c5683bbf957129eed25aa211a32bfcd9ce143ca
parentaaf7a2e24d4c284328569eff44e67e29b223822b
hush: fix handling of raw ^C in scripts: "echo ^C"

function                                             old     new   delta
expand_vars_to_list                                 1133    1187     +54
parse_stream                                        2690    2719     +29

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