From: Mischa POSLAWSKY Date: Wed, 23 Nov 2022 19:39:35 +0000 (+0100) Subject: t/regress: color sequences in dash X-Git-Tag: v1.10~30 X-Git-Url: http://git.shiar.nl/barcat.git/commitdiff_plain/f0f3e1b6720c13ca16b455e4f4cc1cb74c9f62e0 t/regress: color sequences in dash Shorthand for escape is a bashism apparently. --- diff --git a/t/regress.t b/t/regress.t index f6877b1..d7961cc 100755 --- a/t/regress.t +++ b/t/regress.t @@ -10,7 +10,7 @@ colorize= test -t 1 && colorize=1 color () { test -n "$colorize" && - printf '\e[%sm' $@ + printf '\33[%sm' $@ } regenerate= diffcmd () {