From f4d417406b51cb1a7e987812356e8880e4a598d8 Mon Sep 17 00:00:00 2001 From: zawz Date: Fri, 4 Jun 2021 14:04:25 +0200 Subject: [PATCH] fix debashify echo on expandable args --- src/debashify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debashify.cpp b/src/debashify.cpp index 9281b69..ea89848 100644 --- a/src/debashify.cpp +++ b/src/debashify.cpp @@ -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