busybox/shell/ash_test/ash-quoting/space_in_varexp1.tests
Denys Vlasenko bab8828b0d hush: fix expansion of space in "a=${a:+$a }c" construct
function                                             old     new   delta
encode_then_append_var_plusminus                     554     552      -2

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2023-06-12 16:39:32 +02:00

6 lines
64 B
Text
Executable file

a=b
a=${a:+$a }c
echo "1:'$a'"
a=b
a="${a:+$a }c"
echo "2:'$a'"