Remove a non-POSIX and unneeded -r sed
flag
This commit is contained in:
parent
3b2fd831f4
commit
bdb67d8227
|
@ -8,7 +8,7 @@ def comment-selection -docstring "Comment/uncomment the current selection" %{
|
||||||
%sh{
|
%sh{
|
||||||
function exec_proof {
|
function exec_proof {
|
||||||
## Replace the '<' sign that is interpreted differently in `exec`
|
## 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%%:*}")
|
readonly opening=$(exec_proof "${kak_opt_comment_selection_chars%%:*}")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user