Convert MDOC to MAN

Turn MDOC files into MAN. A man page in the classic man macros, for systems that cannot show mdoc, with the title, section number and date in its TH line, the sections, tag lists as tagged paragraphs, flags, arguments and command names in a monospace font, and column lists as tables; the operating system field is left empty.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop MDOC files on the dialor turn it to pick what to do

A man page for systems without mdoc.One file in the classic man macros, with its title, section and date set.

  1. What you get

    A man page in the classic man macros, for systems that cannot show mdoc. The title, section number and date go into its TH line.

    The sections of the MDOC file stay as sections. Tag lists become tagged paragraphs, and column lists become tables.

  2. Fonts and the operating system field

    Flags, arguments and command names are set in a monospace font.

    The operating system field is left empty.

MDOC and MAN.What each format is.

The formats

From · MDOC

BSD mdoc Manual

Manual pages written in the semantic mdoc macros of BSD systems and macOS.

Extensions
.mdoc
MIME type
text/x-mdoc
Kind
Text and data
To · MAN

Man Page

Unix manual pages in troff.

Extensions
.man
MIME type
text/troff
Kind
Text and data

In your code.The same MDOC to MAN conversion through the API, for your app or your agent.

terminal
$ cv convert report.mdoc report.man
$ cv convert report.mdoc report.man

Questions.What people ask about MDOC to MAN.

01OF 04

Some systems cannot show mdoc. The result is written in the classic man macros, so it is meant for those systems.

Yes. The title, section number and date are in its TH line.

Tag lists become tagged paragraphs. Column lists become tables.

No. The operating system field is left empty.

More conversions.Other ways in and out of MDOC and MAN.