mandoc

BSD manpage compiler toolset

Install

All systems
curl cmd.cat/mandoc.sh
Debian Debian
apt-get install mandoc
Ubuntu
apt-get install mandoc
image/svg+xml Kali Linux
apt-get install mandoc
Windows (WSL2)
sudo apt-get update sudo apt-get install mandoc
OS X
brew install mandoc
Raspbian
apt-get install mandoc

mandoc

BSD manpage compiler toolset

mandoc is a suite of tools compiling mdoc, the roff macro language of choice for BSD manual pages, and man, the predominant historical language for UNIX manuals. It is small, ISO C, ISC-licensed, and quite fast. The main component of the toolset is the mandoc utility program, based on the libmandoc validating compiler, to format output for UNIX terminals (with support for wide-character locales), XHTML, HTML, PostScript, and PDF.