Fix more uses of echo in the test run script
This commit is contained in:
parent
f69495ea71
commit
a0c787e966
6
test/run
6
test/run
|
@ -46,8 +46,8 @@ main() {
|
||||||
eval -buffer *debug* write debug
|
eval -buffer *debug* write debug
|
||||||
nop %sh{
|
nop %sh{
|
||||||
IFS==
|
IFS==
|
||||||
echo \"\$kak_selections\" > selections
|
printf '%s\\n' \"\$kak_selections\" > selections
|
||||||
echo \"\$kak_selections_desc\" > state
|
printf '%s\\n' \"\$kak_selections_desc\" > state
|
||||||
}
|
}
|
||||||
write out
|
write out
|
||||||
quit!
|
quit!
|
||||||
|
@ -144,7 +144,7 @@ colorize() {
|
||||||
text=$(cat)
|
text=$(cat)
|
||||||
color_name=${1:-none}
|
color_name=${1:-none}
|
||||||
style_name=${2:-none}
|
style_name=${2:-none}
|
||||||
echo "$(get_ansi_code $color_name $style_name)$text$(get_ansi_code none none)"
|
printf '%s\n' "$(get_ansi_code $color_name $style_name)$text$(get_ansi_code none none)"
|
||||||
}
|
}
|
||||||
|
|
||||||
show_diff() {
|
show_diff() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user