From d1501c496c8b95712d89eb379393258dfff212a1 Mon Sep 17 00:00:00 2001 From: merakor Date: Fri, 1 May 2020 09:43:30 +0000 Subject: kiss: fix ksh colour output FossilOrigin-Name: ca5b8b4277517336989eefb5aff9872182d508bc14b82a3490e6c2065d432c02 --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index 2948713..0798d8d 100755 --- a/kiss +++ b/kiss @@ -24,7 +24,7 @@ log() { # '${3:-->}': If the 3rd argument is missing, set prefix to '->'. # '${2:+\033[1;3Xm}': If the 2nd argument exists, set text style of '$1'. printf '\033[1;33m%s \033[m%b%s\033[m %s\n' \ - "${3:-->}" "${2:+\033[1;36m}" "$1" "$2" >&2 + "${3:-->}" "${2:+"\033[1;36m"}" "$1" "$2" >&2 } die() { -- cgit v1.2.3