diff --git a/src/debashify.cpp b/src/debashify.cpp index ea89848..a4da449 100644 --- a/src/debashify.cpp +++ b/src/debashify.cpp @@ -255,7 +255,8 @@ 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 }))); + in->args->insert(1, new arg("\\ "+format_str) ); lst->add(new condlist(in)); } else