xmltoman

Convert XML to Unix manpage format

brewmacoslinux
Try with needOr install directly
Source

About

XML to manpage converter

Commands

xmltomanxmltoman.py

Examples

convert XML file to man page$ xmltoman input.xml > output.1
generate man page from XML and view it$ xmltoman input.xml | man -l -
create man page from XML with custom section number$ xmltoman mycommand.xml > mycommand.5
batch convert multiple XML files to man pages$ for f in *.xml; do xmltoman "$f" > "${f%.xml}.1"; done
convert XML and save as gzipped man page$ xmltoman input.xml | gzip > output.1.gz