1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-03-17 20:28:03 +02:00
ripgrep/doc/convert-to-man

6 lines
156 B
Plaintext
Raw Normal View History

#!/bin/sh -e
2016-09-22 17:48:41 -04:00
pandoc -s -t man rg.1.md -o rg.1
sed -i.bak 's/\.TH.*/.TH "rg" "1"/g' rg.1
rm -f rg.1.bak # BSD `sed` requires the creation of a back-up file