fix a sed error on mac

sed: 1: "/^&/ { s/^[^:]*: //; s/ ...": extra characters at the end of p command
This commit is contained in:
Bob Qi 2023-09-05 14:48:26 +08:00
parent 6990270005
commit c6270512fd

View File

@ -149,7 +149,7 @@ define-command \
fi fi
printf %s "$kak_selection" | printf %s "$kak_selection" |
eval "aspell -a $options" | eval "aspell -a $options" |
sed -n -e '/^&/ { s/^[^:]*: //; s/, /\n/g; p }' sed -n -e '/^&/ { s/^[^:]*: //; s/, /\n/g; p;}'
} \ } \
"Replace with: " \ "Replace with: " \
%{ %{