mandoc
« Back to VersTracker
Description:
UNIX manpage compiler toolset
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: documentation manpages unix toolset system-utility
Install: brew install mandoc
About:
Mandoc is a suite of tools for compiling, searching, and displaying UNIX manual pages. It includes mandoc(1) for formatting, mdoc(3) for markup, and man(1) for searching. Its primary value is providing a lightweight, secure, and standards-compliant alternative to GNU groff for manpage processing.
Key Features:
  • Compiles mdoc(7) and man(7) markup to HTML, UTF-8, PostScript, and PDF
  • Includes a manual page search utility (man -k equivalent)
  • Designed for security and correctness with a small, auditable codebase
  • Fully compatible with the mdoc(7) macro language
Use Cases:
  • Compiling and viewing system and software manual pages
  • Generating HTML versions of manpages for documentation websites
  • Replacing groff in minimal or security-focused environments
Alternatives:
  • groff – The GNU troff implementation; Mandoc is generally smaller, faster, and considered more secure for parsing untrusted input.
Version History
Detected Version Rev Change Commit
Sep 10, 2025 9:14am 1 VERSION_BUMP 83c05f32