Remove a non-POSIX and unneeded -r sed flag

This commit is contained in:
Frank LENORMAND 2016-03-16 13:24:31 +02:00
parent 3b2fd831f4
commit bdb67d8227

View File

@ -8,7 +8,7 @@ def comment-selection -docstring "Comment/uncomment the current selection" %{
%sh{
function exec_proof {
## Replace the '<' sign that is interpreted differently in `exec`
printf %s "$@" | sed -r 's,<,<lt>,g'
printf %s "$@" | sed 's,<,<lt>,g'
}
readonly opening=$(exec_proof "${kak_opt_comment_selection_chars%%:*}")