From 798d4c3a1eba4c2ff28729aba2b42afd88847535 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 1 Dec 2014 19:33:15 +0000 Subject: [PATCH] use printf rather than echo in c-family.kak According to POSIX, echo with a backspace in any arg is undefined behaviour... --- rc/c-family.kak | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rc/c-family.kak b/rc/c-family.kak index 7b2b2ecb..81cb4f5d 100644 --- a/rc/c-family.kak +++ b/rc/c-family.kak @@ -46,18 +46,18 @@ def -hidden _c-family-indent-on-closing-curly-brace %[ # Regions definition are the same between c++ and objective-c %sh{ for ft in cpp objc; do - echo ' + printf '%s' ' addhl -group / regions -default code FT \ - string %{(?