fix debashify echo on expandable args

This commit is contained in:
zawz 2021-06-04 14:04:25 +02:00
parent f9a3efce9a
commit f4d417406b

View file

@ -255,7 +255,7 @@ bool debashify_echo(pipeline* pl)
in->args->args[0] = new arg("printf");
lst = new list;
lst->add(new condlist(make_cmd({new arg("printf"), new arg(format_str), arg1 })));
lst->add(new condlist(make_cmd({new arg("printf"), new arg(format_str+"\\ "), arg1 })));
lst->add(new condlist(in));
}
else