Make sure no ANSI sequences are in the data returned by `man`
Make sure no ANSI sequences are in the data returned by `man`

The Debian implementation of `man-db` does not strip ANSI sequences out
of the file, even though the documentation says it would do so. The
commit that originally closed this issue wasn't related to the problem
experienced, this one hopefully addresses it.

This commit also addresses an issue with the `-i` flag in BSD `sed`
which expects an argument (the GNU implementation doesn't).

Fixes #1098

casimir/kakoune,lenormf/kakoune,occivink/kakoune,alexherbo2/kakoune,ekie/kakoune,Somasis/kakoune,jkonecny12/kakoune,casimir/kakoune,occivink/kakoune,lenormf/kakoune,danr/kakoune,alexherbo2/kakoune,mawww/kakoune,lenormf/kakoune,mawww/kakoune,jkonecny12/kakoune,jjthrash/kakoune,casimir/kakoune,ekie/kakoune,ekie/kakoune,jjthrash/kakoune,jkonecny12/kakoune,Somasis/kakoune,alexherbo2/kakoune,alexherbo2/kakoune,occivink/kakoune,jkonecny12/kakoune,danr/kakoune,jjthrash/kakoune,casimir/kakoune,mawww/kakoune,danr/kakoune,mawww/kakoune,occivink/kakoune,Somasis/kakoune,lenormf/kakoune,jjthrash/kakoune,Somasis/kakoune,ekie/kakoune,danr/kakoune