hush: make "set -x" output closer to bash
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 27 Jul 2018 15:42:38 +0000 (17:42 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 27 Jul 2018 15:43:39 +0000 (17:43 +0200)
commit4b70c926bcbfaf6df6e21c98ea096b0db8629095
treea3be088b3613fdb2f01d893e8f1be5ae5b4499de
parent9dda9270df3108bb85b29c6d382a3477aeb3344b
hush: make "set -x" output closer to bash

function                                             old     new   delta
print_optionally_squoted                               -     145    +145
run_pipe                                            1902    1919     +17
dump_cmd_in_x_mode                                   142     110     -32
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/1 up/down: 162/-32)           Total: 130 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c