Fixes #995 Documentation rendering problem
BSD sed doesn't accept ascii number with '\x', used printf to generate \x8 as @lenormf suggested.
This commit is contained in:
parent
4b696836d1
commit
6cbc9e0a34
|
@ -9,7 +9,7 @@ def -hidden -params 1..2 _doc-open %{
|
|||
export MANWIDTH=${kak_window_width}
|
||||
|
||||
if man "$1" > "${manout}"; then
|
||||
sed -i 's/.\x8//g' "${manout}"
|
||||
sed -ie $(printf 's/.\x8//g') "${manout}"
|
||||
|
||||
printf %s\\n "
|
||||
edit! -scratch '*doc*'
|
||||
|
|
Loading…
Reference in New Issue
Block a user