From c6270512fd9a5de1574c3a3300267c3732af1522 Mon Sep 17 00:00:00 2001 From: Bob Qi Date: Tue, 5 Sep 2023 14:48:26 +0800 Subject: [PATCH] fix a sed error on mac sed: 1: "/^&/ { s/^[^:]*: //; s/ ...": extra characters at the end of p command --- rc/tools/spell.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/tools/spell.kak b/rc/tools/spell.kak index 901590d8..6b442cf0 100644 --- a/rc/tools/spell.kak +++ b/rc/tools/spell.kak @@ -149,7 +149,7 @@ define-command \ fi printf %s "$kak_selection" | eval "aspell -a $options" | - sed -n -e '/^&/ { s/^[^:]*: //; s/, /\n/g; p }' + sed -n -e '/^&/ { s/^[^:]*: //; s/, /\n/g; p;}' } \ "Replace with: " \ %{