MANDOC(1)
๐ MANDOC(1) ๐
okay bestie, gather round, because this is MANDOC(1) from the General Commands Manual โ she formats manual pages and she is genuinely so good at it, no notes, we stan ๐ธ
โจ NAME โจ
mandoc โ format manual pages
like that's it, that's the whole job description, and yet ๐ซถ
๐ SYNOPSIS ๐
mandoc [-ac] [-I os=name] [-K encoding] [-mdoc | -man] [-O options]
[-T output] [-W level] [file ...]
look at her, so compact, so powerful ๐
๐ฆ DESCRIPTION ๐ฆ
The mandoc utility formats manual pages for display. yes literally that's what she does and she does it beautifully.
By default, mandoc reads mdoc(7) or man(7) text from stdin and produces -T locale output. so if you just yeet some manpage source at her with zero instructions, that's the vibe she goes with ๐
The options are as follows:
-aโ if the standard output is a terminal device and-cis not specified, useless(1)to paginate the output, just likeman(1)would. bestie mode: auto-pager โจ-cโ copy the formatted manual pages to the standard output without usingless(1)to paginate them. this is the default, and you can say it out loud to override-a. so like,-cis her natural state ๐-Ios=name โ override the default operating system name for themdoc(7)Osmacro and for theman(7)THmacro. identity crisis? solved by you ๐-Kencoding โ specify the input encoding. the supported encoding arguments areus-ascii,iso-8859-1, andutf-8. if you don't specify one, autodetection uses the first match in the following list:- If the first three bytes of the input file are the UTF-8 byte order mark (BOM,
0xefbbbf), input is interpreted asutf-8. - If the first or second line of the input file matches the emacs mode line format
- If the first three bytes of the input file are the UTF-8 byte order mark (BOM,
.\" -*- [...;] coding: encoding; -*-
then input is interpreted according to encoding.
- If the first non-ASCII byte in the file introduces a valid UTF-8 sequence, input is interpreted as
utf-8. - Otherwise, input is interpreted as
iso-8859-1.
-mdoc|-manโ with-mdoc, all input files are interpreted asmdoc(7). with-man, all input files are interpreted asman(7). by default, the input language is automatically detected for each file: if the first macro isDdorDt, themdoc(7)parser is used; otherwise, theman(7)parser is used. and with other arguments,-mis silently ignored. (she's not mad, she's just ignoring you ๐)-Ooptions โ comma-separated output options. see the descriptions of the individual output formats for supported options. iykyk.-Toutput โ select the output format. supported values for the output argument areascii,html, the default oflocale,man,markdown,pdf,ps,tree, andutf8.
the special -T lint mode only parses the input and produces no output. it implies -W all and redirects parser messages, which usually appear on standard error output, to standard output. no output but all the tea โ
-Wlevel โ specify the minimum message level to be reported on the standard error output and to affect the exit status. the level can bebase,style,warning,error, orunsupp. thebaselevel automatically derives the operating system from the contents of theOsmacro, from the-Ioscommand line option, or from theuname(3)return value. the levelsopenbsdandnetbsdare variants ofbasethat bypass autodetection and request validation of base system conventions for a particular operating system. the levelallis an alias forbase. by default,mandocis silent ๐คซ see โEXIT STATUSโ and โDIAGNOSTICSโ for details.
the special option -W stop tells mandoc to exit after parsing a file that causes warnings or errors of at least the requested level. no formatted output will be produced from that file. if both a level and stop are requested, they can be joined with a comma, for example -W error,stop. periodt ๐
- file โ read from the given input file. if multiple files are specified, they are processed in the given order. if unspecified,
mandocreads from standard input. she's flexible like that ๐ง
The options -fhklw are also supported and are documented in man(1). in -f and -k mode, mandoc also supports the options -CMmOSs described in the apropos(1) manual. the options -fkl are mutually exclusive and override each other. pick a lane bestie ๐ญ
๐ ASCII Output ๐
Use -T ascii to force text output in 7-bit ASCII character encoding documented in the ascii(7) manual page, ignoring the locale(1) set in the environment.
Font styles are applied by using back-spaced encoding such that an underlined character โcโ is rendered as โ_\[bs]cโ, where โ\[bs]โ is the back-space character number 8. Emboldened characters are rendered as โc\[bs]cโ. This markup is typically converted to appropriate terminal sequences by the pager or ul(1). To remove the markup, pipe the output to col(1) -b instead. lowkey a whole transformation arc โจ
The special characters documented in mandoc_char(7) are rendered best-effort in an ASCII equivalent. In particular, opening and closing โsingle quotesโ are represented as characters number 0x60 and 0x27, respectively, which agrees with all ASCII standards from 1965 to the latest revision (2012) and which matches the traditional way in which roff(7) formatters represent single quotes in ASCII output. This correct ASCII rendering may look strange with modern Unicode-compatible fonts because contrary to ASCII, Unicode uses the code point U+0060 for the grave accent only, never for an opening quote. so if it looks weird it's actually correct, and that's the most iconic plot twist ever ๐
The following -O arguments are accepted:
indent=indent โ the left margin for normal text is set to indent blank characters instead of the default of five formdoc(7)and seven forman(7). increasing this is not recommended; it may result in degraded formatting, for example overfull lines or ugly line breaks. when output is to a pager on a terminal that is less than 66 columns wide, the default is reduced to three columns. trust her on the margin bestie, don't fight the margin ๐mdocโ formatman(7)input files inmdoc(7)output style. this prints the operating system name rather than the page title on the right side of the footer line, and it implies-O indent=5. one useful application is for checking that-T manoutput formats in the same way as themdoc(7)source it was generated from. round-trip validation, we love a self-check ๐tag[=term] โ if the formatted manual page is opened in a pager, go to the definition of the term rather than showing the manual page from the beginning. if no term is specified, reuse the first command line argument that is not a section number. if that argument is inapropos(1)key=valformat, only the val is used rather than the argument as a whole. this is useful for commands like โman -akO tag Ic=ulimitโ to search for a keyword and jump right to its definition in the matching manual pages. jumping straight to the point, main character energy ๐ฅwidth=width โ the output width is set to width instead of the default of78. when output is to a pager on a terminal that is less than 79 columns wide, the default is reduced to one less than the terminal width. in any case, lines that are output in literal mode are never wrapped and may exceed the output width. no cap, literal mode does what it wants ๐ฆ
๐ HTML Output ๐
Output produced by -T html conforms to HTML5 using optional self-closing tags. Default styles use only CSS1. Equations rendered from eqn(7) blocks use MathML. fancy math, fancy markup, we're thriving ๐
The file /usr/share/misc/mandoc.css documents style-sheet classes available for customising output. If a style-sheet is not specified with -O style, -T html defaults to simple output (via an embedded style-sheet) readable in any graphical or text-based web browser.
Non-ASCII characters are rendered as hexadecimal Unicode character references.
The following -O arguments are accepted:
fragmentโ omit the<!DOCTYPE>declaration and the<html>,<head>, and<body>elements and only emit the subtree below the<body>element. the style argument will be ignored. this is useful when embedding manual content within existing documents. sneaking the manpage into your doc like it's nothing ๐includes=fmt โ the string fmt, for example,../src/%I.html, is used as a template for linked header files (usually via theInmacro). Instances of โ%Iโ are replaced with the include filename. The default is not to present a hyperlink.man=fmt[;fmt] โ the string fmt, for example,../html%S/%N.%S.html, is used as a template for linked manuals (usually via theXrmacro). Instances of โ%Nโ and โ%Sโ are replaced with the linked manual's name and section, respectively. If no section is included, section1is assumed. The default is not to present a hyperlink. If two formats are given and a file%N.%Sexists in the current directory, the first format is used; otherwise, the second format is used. fallback plans? she has them โจstyle=style.css โ the file style.css is used for an external style-sheet. This must be a valid absolute or relative URI.tag[=term] โ same syntax and semantics as for โASCII Outputโ. This is implemented by passing afile://URI ending in a fragment identifier to the pager rather than passing merely a file name. When using this argument, use a pager supporting such URIs, for example
MANPAGER='lynx -force_html' man -T html -O tag=MANPAGER man
MANPAGER='w3m -T text/html' man -T html -O tag=toc mandoc
Consequently, for HTML output, this argument does not work with more(1) or less(1). For example, โMANPAGER=less man -T html -O tag=toc mandocโ does not work because less(1) does not support file:// URIs. yeah, she said what she said ๐
tocโ if an input file contains at least two non-standard sections, print a table of contents near the beginning of the output. two sections minimum, we're not doing a TOC for a one-act play ๐
๐ธ Locale Output ๐ธ
By default, mandoc automatically selects UTF-8 or ASCII output according to the current locale(1). If any of the environment variables LC_ALL, LC_CTYPE, or LANG are set and the first one that is set selects the UTF-8 character encoding, it produces โUTF-8 Outputโ; otherwise, it falls back to โASCII Outputโ. This output mode can also be selected explicitly with -T locale. she checks the vibes of your environment and adapts ๐ซถ
โญ Man Output โญ
Use -T man to translate mdoc(7) input into man(7) output format. This is useful for distributing manual sources to legacy systems lacking mdoc(7) formatters. Embedded eqn(7) and tbl(7) code is not supported. so sorry to the equation girlies ๐ญ
If the input format of a file is man(7), the input is copied to the output. The parser is also run, and as usual, the -W level controls which โDIAGNOSTICSโ are displayed before copying the input to the output.
๐ Markdown Output ๐
Use -T markdown to translate mdoc(7) input to the markdown format conforming to John Gruber's 2004 specification: http://daringfireball.net/projects/markdown/syntax.text. The output also almost conforms to the CommonMark: http://commonmark.org/ specification. almost conforming is still conforming, ok ๐
The character set for markdown output is straight-up ASCII, bestie. Any non-ASCII character gets encoded as an HTML entity. But here's the tea: that doesn't work in literal font contexts, because those get rendered as code spans and code blocks in the markdown output โ so in those spots, non-ASCII characters get transliterated to ASCII approximations instead. ๐ซถ
Markdown is a very weak markup language, so all the semantic markup is lost, and honestly even part of the presentational markup may dip too. Do not use this as an intermediate step when you're converting to HTML โ just go straight to -T html instead. Trust. ๐
Also important: the man(7), tbl(7), and eqn(7) input languages are not supported by -T markdown output mode. Periodt.
โจ PDF Output โจ
PDF-1.1 output can be generated with -T pdf. For the -O arguments and defaults, go peek at โPostScript Outputโ. ๐
๐ PostScript Output ๐
PostScript "Adobe-3.0" Level-2 pages can be generated with -T ps. Output pages default to letter sized and get rendered in the Times font family, 11-point. Margins are calculated as 1/9 the page length and width, and line-height is 1.4m. So specific, so iconic.
Special characters are rendered exactly like in โASCII Outputโ.
Here are the -O arguments it accepts:
paper=nameโ the paper size name can be one ofa3,a4,a5,legal, orletter. You can also manually specify dimensions asNNxNN, which is width by height in millimetres. And if it hits an unknown value? It just usesletter. No drama.
๐ฆ UTF-8 Output ๐ฆ
Use -T utf8 to force text output in UTF-8 multi-byte character encoding, ignoring the locale(1) settings in the environment. For font styles and -O arguments, see โASCII Outputโ.
On operating systems that are lacking locale or wide character support, and on those where the internal character representation is not UCS-4, mandoc always falls back to โASCII Outputโ. It's giving resilience. โจ
๐ธ Syntax tree output ๐ธ
Use -T tree to show a human readable representation of the syntax tree. It's lowkey useful for debugging the source code of manual pages. But heads up: the exact format is subject to change, so don't write parsers for it. ๐ญ
The first paragraph shows meta data found in the mdoc(7) prologue, on the man(7) TH line, or the fallbacks used.
In the tree dump, each output line shows one syntax tree node. Child nodes are indented with respect to their parent node. The columns are:
- For macro nodes, the macro name; for text and
tbl(7)nodes, the content. There's a special format foreqn(7)nodes. - Node type (
text,elem,block,head,body,body-end,tail,tbl,eqn). - Flags:
- An opening parenthesis if the node is an opening delimiter.
- An asterisk if the node starts a new input line.
- The input line number (starting at one).
- A colon.
- The input column number (starting at one).
- A closing parenthesis if the node is a closing delimiter.
- A full stop if the node ends a sentence.
BROKENif the node is a block broken by another block.NOSRCif the node is not in the input file, but automatically generated from macros.NOPRTif the node is not supposed to generate output for any output format.
The following -O argument is accepted:
novalโ skip validation and show the unvalidated syntax tree. This can help you figure out whether a given behaviour is caused by the parser or by the validator. Meta data is not available in this case.
๐ ENVIRONMENT ๐
LC_CTYPEโ the character encodinglocale(1). When โLocale Outputโ is selected, it decides whether to use ASCII or UTF-8 output format. It never affects the interpretation of input files. Ngl, that part matters.MANPAGERโ any non-empty value of the environment variableMANPAGERis used instead of the standard pagination program,less(1); seeman(1)for details. Only used if-aor-lis specified.PAGERโ specifies the pagination program to use whenMANPAGERis not defined. If neitherPAGERnorMANPAGERis defined,less(1)is used. Only used if-aor-lis specified.
โญ EXIT STATUS โญ
The mandoc utility exits with one of these values, controlled by the message level associated with the -W option:
0โ no base system convention violations, style suggestions, warnings, or errors occurred, or those that did were ignored because they were lower than the requested level.1โ at least one base system convention violation or style suggestion occurred, but no warning or error, and-W baseor-W stylewas specified.2โ at least one warning occurred, but no error, and-W warningor a lower level was requested.3โ at least one parsing error occurred, but no unsupported feature was encountered, and-W erroror a lower level was requested.4โ at least one unsupported feature was encountered, and-W unsuppor a lower level was requested.5โ invalid command line arguments were specified. No input files have been read.6โ an operating system error occurred, for example exhaustion of memory, file descriptors, or process table entries. Such errors may causemandocto exit at once, possibly in the middle of parsing or formatting a file. ๐
Note that selecting-T lintoutput mode implies-W all.
๐ EXAMPLES ๐
To page manuals to the terminal:
$ mandoc -l mandoc.1 man.1 apropos.1 makewhatis.8
To produce HTML manuals with /usr/share/misc/mandoc.css as the style-sheet:
$ mandoc -T html -O style=/usr/share/misc/mandoc.css mdoc.7 > mdoc.7.html
To check over a large set of manuals:
$ mandoc -T lint `find /usr/src -name \*\.[1-9]`
To produce a series of PostScript manuals for A4 paper:
$ mandoc -T ps -O paper=a4 mdoc.7 man.7 > manuals.ps
Convert a modern mdoc(7) manual to the older man(7) format, for use on systems lacking an mdoc(7) parser:
$ mandoc -T man foo.mdoc > foo.man
๐ฅ DIAGNOSTICS ๐ฅ
Messages displayed by mandoc follow this format:
mandoc: file:line:column: level: message: macro arguments (os)
The first three fields identify the file name, line number, and column number of the input file where the message was triggered. The line and column numbers start at 1. Both are omitted for messages referring to an input file as a whole. All level and message strings are explained below. The name of the macro triggering the message and its arguments are omitted where meaningless. The os operating system specifier is omitted for messages that are relevant for all operating systems. Fatal messages about invalid command line arguments or operating system errors โ for example when memory is exhausted โ may also omit the file and level fields.
Message levels have the following meanings:
syserrโ an operating system error occurred. There isn't necessarily anything wrong with the input files. Output may all the same be missing or incomplete.badargโ invalid command line arguments were specified. No input files have been read and no output is produced.unsuppโ an input file uses unsupported low-levelroff(7)features. The output may be incomplete and/or misformatted, so using GNU troff instead ofmandocto process the file may be preferable.errorโ indicates a risk of information loss or severe misformatting, in most cases caused by serious syntax errors.warningโ indicates a risk that the information shown or its formatting may mismatch the author's intent in minor ways. Additionally, syntax errors are classified at least as warnings, even if they do not usually cause misformatting.styleโ an input file uses dubious or discouraged style. This is not a complaint about the syntax, and probably neither formatting nor portability are in danger. While great care is taken to avoid false positives on the higher message levels, the style level tries to reduce the probability that issues go unnoticed, so it may occasionally issue bogus suggestions. Please use your good judgement to decide whether any particular style suggestion really justifies a change to the input file.baseโ a convention used in the base system of a specific operating system is not adhered to. These are not markup mistakes, and neither the quality of formatting nor portability are in danger. Messages of thebaselevel are printed with the more intuitivestylelevel tag.
Messages of the base, style, warning, error, and unsupp levels are hidden unless their level, or a lower level, is requested using a -W option or -T lint output mode.
As indicated below, all base and some style checks are only performed if a specific operating system name occurs in the arguments of the -W command line option, of the Os macro, of the -Ios command line option, or, if neither are present, in the return value of the uname(3) function.
๐ Conventions for base system manuals ๐
Mdocdate found
(mdoc, NetBSD) The Dd macro uses CVS Mdocdate keyword substitution, which is not supported by the NetBSD base system. Consider using the conventional โMonth dd, yyyyโ format instead.
Mdocdate missing
(mdoc, OpenBSD) The Dd macro does not use CVS Mdocdate keyword substitution, but using it is conventionally expected in the OpenBSD base system.
unknown architecture
(mdoc, OpenBSD, NetBSD) The third argument of the Dt macro does not match any of the architectures this operating system is running on.
operating system explicitly specified
(mdoc, OpenBSD, NetBSD) The Os macro has an argument. In the base system, it is conventionally left blank.
RCS id missing
(OpenBSD, NetBSD) The manual page lacks the comment line with the RCS identifier generated by CVS OpenBSD or NetBSD keyword substitution as conventionally used in these operating systems.
๐ Style suggestions ๐
legacy man(7) date format
(mdoc) The Dd macro uses the legacy man(7) date format โyyyy-dd-mmโ. Consider using the conventional mdoc(7) date format โMonth dd, yyyyโ instead.
normalizing date format to: ...
(mdoc, man) The Dd or TH macro provides an abbreviated month name or a day number with a leading zero. In the formatted output, the month name is written out in full and the leading zero is omitted.
lower case character in document title
(mdoc, man) The title is still used as given in the Dt or TH macro.
duplicate RCS id
A single manual page contains two copies of the RCS identifier for the same operating system. Consider deleting the later instance and moving the first one up to the top of the page.
possible typo in section nameโ (mdoc) Fuzzy string matching was like ๐ and revealed that the argument of anShmacro is similar to a standard section name but not identical. So close bestie, but no. ๐unterminated quoted argumentโ (roff) Macro arguments can be wrapped in double quote characters so spaces and macro names inside the quoted argument don't need escaping. The closing quote of the last argument of a macro can be omitted. But omitting it is not recommended because it makes the code harder to read. So like, just close your quotes, babe. ๐useless macroโ (mdoc) ABt,Tn, orUdmacro was found. Simply delete it: it serves no useful purpose. It's giving clutter. ๐๏ธconsider using OS macroโ (mdoc) A string was found in plain text or in aBxmacro that could be represented usingOx,Nx,Fx, orDx. Upgrade that vibe. โจerrnos out of orderโ (mdoc, NetBSD) TheEritems in aBllist are not in alphabetical order. Sort it out bestie. ๐คduplicate errnoโ (mdoc, NetBSD) ABllist contains two consecutiveItentries describing the sameErnumber. We been knew. Duplicate. ๐referenced manual not foundโ (mdoc) AnXrmacro references a manual page that was not found. When running with-W base, the search is restricted to the base system, by default to/usr/share/man:/usr/X11R6/man. This path can be configured at compile time using theMANPATH_BASEpreprocessor macro. When running with-W style, the search is done along the full search path as described in theman(1)manual page, respecting the-mand-Mcommand line options, theMANPATHenvironment variable, theman.conf(5)file and falling back to the default of/usr/share/man:/usr/X11R6/man:/usr/local/man, also configurable at compile time using theMANPATH_DEFAULTpreprocessor macro. So basically, where did that page go? ๐คทโโ๏ธtrailing delimiterโ (mdoc) The last argument of anEx,Fo,Nd,Nm,Os,Sh,Ss,St, orSxmacro ends with a trailing delimiter. This is usually bad style and often indicates typos. Most likely, the delimiter can be removed. Bye delimiter. ๐no blank before trailing delimiterโ (mdoc) The last argument of a macro that supports trailing delimiter arguments is longer than one byte and ends with a trailing delimiter. Consider inserting a blank such that the delimiter becomes a separate argument, thus moving it out of the scope of the macro. Space bar is your friend. โจ๏ธfill mode already enabled, skippingโ (man) Afirequest occurs even though the document is still in fill mode, or already switched back to fill mode. It has no effect. Nothing to see here. ๐fill mode already disabled, skippingโ (man) Annfrequest occurs even though the document already switched to no-fill mode and did not switch back to fill mode yet. It has no effect. Same energy. ๐คinput text line longer than 80 bytesโ Consider breaking the input text line at one of the blank characters before column 80. That line is doing too much. โ๏ธverbatim "--", maybe consider using \(emโ (mdoc) Even though the ASCII output device renders an em-dash as"--", that is not a good way to write it in an input file because it renders poorly on all other output devices. So like, use\(embestie. ๐function name without markupโ (mdoc) A word followed by an empty pair of parentheses occurs on a text line. Consider using anFnorXrmacro. Mark it up. ๐whitespace at end of input lineโ (mdoc, man, roff) Whitespace at the end of input lines is almost never semantically significant โ but in the odd case where it might be, it is extremely confusing when reviewing and maintaining documents. So like, trim it. ๐งนbad comment styleโ (roff) Comment lines start with a dot, a backslash, and a double-quote character. Themandocutility treats the line as a comment line even without the backslash, but leaving out the backslash might not be portable. So include the backslash, okay? ๐ซถ
๐ธ Warnings related to the document prologue ๐ธ
missing manual title, using UNTITLEDโ (mdoc) ADtmacro has no arguments, or there is noDtmacro before the first non-prologue macro. So it'sUNTITLEDnow. ๐คทโโ๏ธmissing manual title, using ""โ (man) There is noTHmacro, or it has no arguments. Empty title, empty vibe. ๐ณ๏ธmissing manual section, using ""โ (mdoc, man) ADtorTHmacro lacks the mandatory section argument. You forgot the section number bestie. ๐ญunknown manual sectionโ (mdoc) The section number in aDtline is invalid, but still used. It's giving mystery section. ๐ต๏ธโโ๏ธfilename/section mismatchโ (mdoc, man) The name of the input file being processed is known and its file name extension starts with a non-zero digit, but theDtorTHmacro contains a section argument that starts with a different non-zero digit. The section argument is used as provided anyway. Consider checking whether the file name or the argument need a correction. So like, which one is it? ๐คmissing date, using ""โ (mdoc, man) The document was parsed asmdoc(7)and it has noDdmacro, or theDdmacro has no arguments or only empty arguments; or the document was parsed asman(7)and it has noTHmacro, or theTHmacro has less than three arguments or its third argument is empty. Date? Never heard of her. ๐cannot parse date, using it verbatimโ (mdoc, man) The date given in aDdorTHmacro does not follow the conventional format. We're just gonna use it as-is. ๐คทโโ๏ธdate in the future, using it anywayโ (mdoc, man) The date given in aDdorTHmacro is more than a day ahead of the current system time(3). Living in the future, we love that for you. ๐ฎmissing Os macro, using ""โ (mdoc) The default or current system is not shown in this case. No system, no problem? ๐late prologue macroโ (mdoc) ADdorOsmacro occurs after some non-prologue macro, but still takes effect. Fashionably late. โฐprologue macros out of orderโ (mdoc) The prologue macros are not given in the conventional orderDd,Dt,Os. All three macros are used even when given in another order. Order? We don't know her. ๐
๐ฆ Warnings regarding document structure ๐ฆ
.so is fragile, better use ln(1)โ (roff) Including files only works when the parser program runs with the correct current working directory. So like, useln(1)instead. Fragile. ๐no document bodyโ (mdoc, man) The document body contains neither text nor macros. An empty document is shown, consisting only of a header and a footer line. Empty. Void. ๐ณ๏ธcontent before first section headerโ (mdoc, man) Some macros or text precede the firstShorSHsection header. The offending macros and text are parsed and added to the top level of the syntax tree, outside any section block. So they're just floating. ๐ซ๏ธfirst section is not NAMEโ (mdoc) The argument of the firstShmacro is notโNAMEโ. This may confusemakewhatis(8)andapropos(1). So like, start with NAME bestie. ๐NAME section without Nm before Ndโ (mdoc) The NAME section does not contain anyNmchild macro before the firstNdmacro. Gotta have thatNm. ๐ท๏ธNAME section without descriptionโ (mdoc) The NAME section lacks the mandatoryNdchild macro. No description? Jail. ๐description not at the end of NAMEโ (mdoc) The NAME section does contain anNdchild macro, but other content follows it. So like, move it to the end. ๐bad NAME section contentโ (mdoc) The NAME section contains plain text or macros other thanNmandNd. Keep it clean. ๐งผmissing comma before nameโ (mdoc) The NAME section contains anNmmacro that is neither the first one nor preceded by a comma. Comma! Where is it? ๐ญmissing description line, using ""โ (mdoc) TheNdmacro lacks the required argument. The title line of the manual will end after the dash. So it's just dash and then nothing. ๐description line outside NAME sectionโ (mdoc) AnNdmacro appears outside the NAME section. The arguments are printed anyway and the following text is used forapropos(1), but none of that behaviour is portable. So like, not portable bestie. ๐ซsections out of conventional orderโ (mdoc) A standard section occurs after another section it usually precedes. All section titles are used as given, and the order of sections is not changed. So we're keeping your chaotic order. ๐ช๏ธduplicate section titleโ (mdoc) The same standard section title occurs more than once. Twinning! But not in a good way. ๐ฏโโ๏ธunexpected sectionโ (mdoc) A standard section header occurs in a section of the manual where it normally isn't useful. Surprise! ๐cross reference to selfโ (mdoc) AnXrmacro refers to a name and section matching the section of the present manual page and a name mentioned in anNmmacro in the NAME or SYNOPSIS section, or in anFnorFomacro in the SYNOPSIS. Consider usingNmorFninstead ofXr. Stop referencing yourself, main character. ๐unusual Xr orderโ (mdoc) In the SEE ALSO section, anXrmacro with a lower section number follows one with a higher number, or twoXrmacros referring to the same section are out of alphabetical order. Sort it. ๐คunusual Xr punctuationโ (mdoc) In the SEE ALSO section, punctuation between twoXrmacros differs from a single comma, or there is trailing punctuation after the lastXrmacro. Commas, bestie. ๐AUTHORS section without An macroโ (mdoc) An AUTHORS sections contains noAnmacros, or only empty ones. Probably, there are author names lacking markup. Give them theirAnmoment. ๐ซถ
๐ Warnings related to macros and nesting ๐
obsolete macroโ (mdoc) See themdoc(7)manual for replacements. It's giving outdated. ๐๏ธmacro neither callable nor escapedโ (mdoc) The name of a macro that is not callable appears on a macro line. It is printed verbatim. If the intention is to call it, move it to its own input line; otherwise, escape it by prependingโ\&โ. So like, escape it or move it. ๐โโ๏ธskipping paragraph macroโ Inmdoc(7)documents, this happens- at the beginning and end of sections and subsections
- right before non-compact lists and displays
- at the end of items in non-column, non-compact lists
- and for multiple consecutive paragraph macros. In
man(7)documents, it happens - for empty
P,PP, andLPmacros - for
IPmacros having neither head nor body arguments - for
brorspright afterSHorSS
moving paragraph macro out of listโ (mdoc) A list item in aBllist contains a trailing paragraph macro. The paragraph macro is moved after the end of the list. So it's like, bye from the list. ๐skipping no-space macroโ (mdoc) An input line begins with anNsmacro, or the next argument after anNsmacro is an isolated closing delimiter. The macro is ignored. Ignored. ๐blocks badly nestedโ (mdoc) If two blocks intersect, one should completely contain the other. Otherwise, rendered output is likely to look strange in any output format, and rendering in SGML-based output formats is likely to be outright wrong because such languages do not support badly nested blocks at all. Typical examples of badly nested blocks are"Ao Bo Ac Bc"and"Ao Bq Ac". In these examples,AcbreaksBoandBq, respectively. So like, nesting 101. ๐ชnested displays are not portableโ (mdoc) ABd,D1, orDldisplay occurs nested inside anotherBddisplay. This works withmandoc, but fails with most other implementations. So like, not portable. ๐ซmoving content out of listโ (mdoc) ABllist block contains text or macros before the firstItmacro. The offending children are moved before the beginning of the list. Eviction notice. ๐first macro on lineโ Inside aBl -columnlist, aTamacro occurs as the first macro on a line, which is not portable. So like, don't do that. ๐ซline scope brokenโ (man) While parsing the next-line scope of the previous macro, another macro is found that prematurely terminates the previous one. The previous, interrupted macro is deleted from the parse tree. Rude. ๐
๐ Warnings related to missing arguments ๐
skipping empty requestโ (roff, eqn) The macro name is missing from a macro definition request, or aneqn(7)control statement or operation keyword lacks its required argument. So like, you forgot the argument. ๐ญconditional request controls empty scope(roff) โ a conditional request is literally only useful if one of these things follows it on the same logical input line, bestie:- The
\{keyword to open a multi-line scope. - A request or macro or some text, resulting in a single-line scope.
- The immediate end of the logical line without any intervening whitespace, resulting in next-line scope.
- The
Here? The conditional request gets trailing whitespace only, and there's no other content on its logical input line. And ngl, it does not matter whether that logical input line is split across multiple physical input lines using \ line continuation characters. This is one of those rare cases where trailing whitespace is syntactically significant. So the conditional request controls a scope containing whitespace only, which means it's unlikely to do anything meaningful, except that it may control a following el clause. ๐
skipping empty macro(mdoc) โ the macro in question has zero arguments, so it has zero effect. Nothing. Nada. ๐ซฅempty block(mdoc, man) โ aBd,Bk,Bl,D1,Dl,MT,RS, orURblock has literally nothing in its body and will produce no output.empty argument, using 0n(mdoc) โ the required width is missing afterBdorBl-offsetor-width. ๐ญmissing display type, using -ragged(mdoc) โ theBdmacro got invoked without the required display type.list type is not the first argument(mdoc) โ in aBlmacro, at least one other argument comes before the type argument. Themandocutility copes with any argument order, but some othermdoc(7)implementations do not. ๐ฉmissing -width in -tag list, using 8n(mdoc) โ everyBlmacro that has the-tagargument also needs-width, periodt.missing utility name, using ""(mdoc) โ theEx -stdmacro is called without an argument beforeNmhas first been called with an argument.missing function name, using ""(mdoc) โ theFomacro is called without an argument. No function name gets printed.empty head in list item(mdoc) โ in aBl -diag,-hang,-inset,-ohang, or-taglist, anItmacro is missing its required argument. The item head is left empty.empty list item(mdoc) โ in aBl -bullet,-dash,-enum, or-hyphenlist, anItblock is empty. An empty list item is shown.missing argument, using next line(mdoc) โ anItmacro in aBd -columnlist has no arguments. Whilemandocuses the text or macros of the following line, if any, for the cell, other formatters may misformat the list. ๐missing font type, using \fR(mdoc) โ aBfmacro has no argument. It switches to the default font.unknown font type, using \fR(mdoc) โ theBfargument is invalid. The default font is used instead.nothing follows prefix(mdoc) โ aPfmacro has no argument, or only one argument and no macro follows on the same input line. This defeats its whole purpose; in particular, spacing is not suppressed before the text or macros following on the next input line.empty reference block(mdoc) โ anRsmacro is immediately followed by anRemacro on the next input line. Such an empty block produces no output.missing section argument(mdoc) โ anXrmacro is missing its second, section number argument. The first argument, i.e. the name, is printed, but without subsequent parentheses.missing -std argument, adding it(mdoc) โ anExorRvmacro lacks the required-stdargument. Themandocutility assumes-stdeven when it is not specified, but other implementations may not. โ ๏ธmissing option string, using ""(man) โ theOPmacro is invoked without any argument. An empty pair of square brackets is shown.missing resource identifier, using ""(man) โ theMTorURmacro is invoked without any argument. An empty pair of angle brackets is shown.missing eqn box, using ""(eqn) โ a diacritic mark or a binary operator is found, but there is nothing to the left of it. An empty box is inserted.
๐ Warnings related to bad macro arguments ๐
duplicate argument(mdoc) โ aBdorBlmacro has more than one-compact, more than one-offset, or more than one-widthargument. All but the last instances of these arguments are ignored.skipping duplicate argument(mdoc) โ anAnmacro has more than one-splitor-nosplitargument. All but the first of these arguments are ignored.skipping duplicate display type(mdoc) โ aBdmacro has more than one type argument; the first one is used.skipping duplicate list type(mdoc) โ aBlmacro has more than one type argument; the first one is used.skipping -width argument(mdoc) โ aBl -column,-diag,-ohang,-inset, or-itemlist has a-widthargument. That has no effect, bestie. ๐คทwrong number of cellsโ in a line of aBl -columnlist, the number of tabs orTamacros is less than the number expected from the list header line or exceeds the expected number by more than one. Missing cells remain empty, and all cells exceeding the number of columns are joined into one single cell.unknown AT&T UNIX version(mdoc) โ anAtmacro has an invalid argument. It is used verbatim, with"AT&T UNIX "prefixed to it.comma in function argument(mdoc) โ an argument of anFaorFnmacro contains a comma; it should probably be split into two arguments.parenthesis in function name(mdoc) โ the first argument of anFcorFnmacro contains an opening or closing parenthesis; that's probably wrong, parentheses are added automatically.unknown library name(mdoc, not on OpenBSD) โ anLbmacro has an unknown name argument and will be rendered as"library โnameโ".invalid content in Rs block(mdoc) โ anRsblock contains plain text or non-%macros. The bogus content is left in the syntax tree. Formatting may be poor. ๐invalid Boolean argument(mdoc) โ anSmmacro has an argument other thanonoroff. The invalid argument is moved out of the macro, which leaves the macro empty, causing it to toggle the spacing mode.argument contains two font escapes(roff) โ the second argument of acharrequest contains more than one font escape sequence. A wrong font may remain active after using the character.unknown font, skipping request(man, tbl) โ aroff(7)ftrequest or atbl(7)flayout modifier has an unknown font argument.odd number of characters in request(roff) โ atrrequest contains an odd number of characters. The last character is mapped to the blank character.
๐ธ Warnings related to plain text ๐ธ
blank line in fill mode, using .sp(mdoc) โ the meaning of blank input lines is only well-defined in non-fill mode: in fill mode, line breaks of text input lines are not supposed to be significant. However, for compatibility withgroff, blank lines in fill mode are formatted likesprequests. To request a paragraph break, usePpinstead of a blank line. ๐ซถtab in filled text(mdoc, man) โ the meaning of tab characters is only well-defined in non-fill mode: in fill mode, whitespace is not supposed to be significant on text input lines. As an implementation dependent choice, tab characters on text lines are passed through to the formatters in any case. Given that the text before the tab character will be filled, it is hard to predict which tab stop position the tab will advance to.new sentence, new line(mdoc) โ a new sentence starts in the middle of a text line. Start it on a new input line to help formatters produce correct spacing.invalid escape sequence(roff) โ an escape sequence has an invalid opening argument delimiter, lacks the closing argument delimiter, the argument is of an invalid form, or it is a character escape sequence with an invalid name. If the argument is incomplete,\*and\nexpand to an empty string,\Bto the digitโ0โ, and\wto the length of the incomplete argument. All other invalid escape sequences are ignored.undefined escape, printing literally(roff) โ in an escape sequence, the first character right after the leading backslash is invalid. That character is printed literally, which is equivalent to ignoring the backslash.undefined string, using ""(roff) โ if a string is used without being defined before, its value is implicitly set to the empty string. However, defining strings explicitly before use keeps the code more readable. โจ
๐ง Warnings related to tables ๐ง
tbl line starts with span(tbl) โ the first cell in a table layout line is a horizontal span (โsโ). Data provided for this cell is ignored, and nothing is printed in the cell.tbl column starts with span(tbl) โ the first line of a table layout specification requests a vertical span (โ^โ). Data provided for this cell is ignored, and nothing is printed in the cell.skipping vertical bar in tbl layout(tbl) โ a table layout specification contains more than two consecutive vertical bars. A double bar is printed, all additional bars are discarded.
๐ฅ Errors related to tables ๐ฅ
non-alphabetic character in tbl options(tbl) โ the table options line contains a character other than a letter, blank, or comma where the beginning of an option name is expected. The character is ignored.skipping unknown tbl option(tbl) โ the table options line contains a string of letters that does not match any known option name. The word is ignored.missing tbl option argument(tbl) โ a table option that requires an argument is not followed by an opening parenthesis, or the opening parenthesis is immediately followed by a closing parenthesis. The option is ignored.wrong tbl option argument size(tbl) โ a table option argument contains an invalid number of characters. Both the option and the argument are ignored.empty tbl layout(tbl) โ a table layout specification is completely empty, specifying zero lines and zero columns. As a fallback, a single left-justified column is used.invalid character in tbl layout(tbl) โ a table layout specification contains a character that can neither be interpreted as a layout key character nor as a layout modifier, or a modifier precedes the first key. The invalid character is discarded.unmatched parenthesis in tbl layout(tbl) โ a table layout specification contains an opening parenthesis, but no matching closing parenthesis. The rest of the input line, starting from the parenthesis, has no effect.ignoring excessive spacing in tbl layout(tbl) โ a spacing modifier in a table layout is unreasonably large. The default spacing of3nis used instead.tbl without any data cells(tbl) โ a table does not contain any data cells. It will probably produce no output.ignoring data in spanned tbl cell(tbl) โ a table cell is marked as a horizontal span (โsโ) or vertical span (โ^โ) in the table layout, but it contains data. The data is ignored. ๐ญignoring extra tbl data cellsโ (tbl) So a data line has more cells than the corresponding layout line said it would. The extra cells? literally ignored. Bye bestie ๐data block open at end of tblโ (tbl) A data block was opened withT{but never closed with a matchingT}. So the rest of the tableโs data lines all get shoved into one cell, and any remaining cells just stay empty. Itโs giving โunfinished businessโ ๐ญduplicate prologue macroโ (mdoc) One of the prologue macros shows up more than once. The last instance wins and overrides all the previous ones. Periodt.skipping late title macroโ (mdoc) TheDtmacro appears after the first non-prologue macro. Traditional formatters canโt handle this because they write the page header before parsing the document body. Even though this technical restriction doesnโt apply tomandoc, traditional semantics is preserved. The late macro is discarded including its arguments. ๐๏ธinput stack limit exceeded, infinite loop?โ (roff) Okay so explicit recursion limits are implemented for these features, all to prevent infinite loops:- expansion of nested escape sequences including expansion of strings and number registers,
- expansion of nested user-defined macros,
- and
sofile inclusion. When a limit is hit, the output is incorrect, typically losing some content, but the parser can continue. So like, itโs not a total meltdown, just messy ๐
skipping bad characterโ (mdoc, man, roff) The input file contains a byte that is not a printableascii(7)character. The message mentions the character number. The offending byte is replaced with a question mark (โ?โ). Consider editing the input file to replace the byte with an ASCII transliteration of the intended character. Do it for the vibe check. โจskipping unknown macroโ (mdoc, man, roff) The first identifier on a request or macro line is neither recognized as aroff(7)request, nor as a user-defined macro, nor, respectively, as anmdoc(7)orman(7)macro. It may be mistyped or unsupported. The request or macro is discarded including its arguments. RIP to that line. ๐ชฆskipping request outside macroโ (roff) Ashiftorreturnrequest occurs outside any macro definition and has no effect. Itโs giving โtalking to the voidโ ๐ซskipping insecure requestโ (roff) An input file attempted to run a shell command or to read or write an external file. Such attempts are denied for security reasons. No cap, bestie, weโre not doing that here. ๐skipping item outside listโ (mdoc, eqn) AnItmacro occurs outside anyBllist, or aneqn(7)abovedelimiter occurs outside any pile. It is discarded including its arguments. Not me putting an item where thereโs no listโฆ ๐skipping column outside column listโ (mdoc) ATamacro occurs outside anyBl -columnblock. It is discarded including its arguments. So extra, so discarded. ๐skipping end of block that is not openโ (mdoc, man, eqn, tbl, roff) Various syntax elements can only be used to explicitly close blocks that have previously been opened. Anmdoc(7)block closing macro, aman(7)ME,REorUEmacro, aneqn(7)right delimiter or closing brace, or the end of an equation, table, orroff(7)conditional request is encountered but no matching block is open. The offending request or macro is discarded. Itโs giving โclosing a door that doesnโt existโ ๐ชfewer RS blocks open, skippingโ (man) TheREmacro is invoked with an argument, but less than the specified number ofRSblocks is open. TheREmacro is discarded. Math isnโt mathing. ๐ญinserting missing end of blockโ (mdoc, tbl) Variousmdoc(7)macros as well as tables require explicit closing by dedicated macros. A block that doesnโt support bad nesting ends before all of its children are properly closed. The open child nodes are closed implicitly. So itโs like, auto-close, but make it Unix. ๐appending missing end of blockโ (mdoc, man, eqn, tbl, roff) At the end of the document, an explicitmdoc(7)block, aman(7)next-line scope orMT,RSorURblock, an equation, table, orroff(7)conditional or ignore block is still open. The open block is closed implicitly. End of document cleanup era. ๐งนescaped character not allowed in a nameโ (roff) Macro, string and register identifiers consist of printable, non-whitespace ASCII characters. Escape sequences and characters and strings expressed in terms of them cannot form part of a name. The first argument of anam,as,de,ds,nr, orrrrequest, or any argument of anrmrequest, or the name of a request or user defined macro being called, is terminated by an escape sequence. In the cases ofas,ds, andnr, the request has no effect at all. In the cases ofam,de,rr, andrm, what was parsed up to this point is used as the arguments to the request, and the rest of the input line is discarded including the escape sequence. When parsing for a request or a user-defined macro name to be called, only the escape sequence is discarded. The characters preceding it are used as the request or macro name, the characters following it are used as the arguments to the request or macro. Itโs complicated, iykyk. ๐using macro argument outside macroโ (roff) The escape sequence\$occurs outside any macro definition and expands to the empty string. Not me trying to use arguments in the void. ๐ณ๏ธargument number is not numericโ (roff) The argument of the escape sequence\$is not a digit; the escape sequence expands to the empty string. Numbers only, bestie. ๐ขNOT IMPLEMENTED: Bd -fileโ (mdoc) For security reasons, theBdmacro does not support the-fileargument. By requesting the inclusion of a sensitive file, a malicious document might otherwise trick a privileged user into inadvertently displaying the file on the screen, revealing the file content to bystanders. The argument is ignored including the file name following it. Security said no. Periodt. ๐skipping display without argumentsโ (mdoc) ABdblock macro does not have any arguments. The block is discarded, and the block content is displayed in whatever mode was active before the block. No args, no block. ๐ โโ๏ธmissing list type, using -itemโ (mdoc) ABlmacro fails to specify the list type. So we just default to-item. Itโs giving โweโll figure it outโ. ๐โโ๏ธargument is not numeric, using 1โ (roff) The argument of acerequest is not a number. So we use 1 instead. Math is hard, okay? ๐argument is not a characterโ (roff) The first argument of acharrequest is neither a single ASCII character nor a single character escape sequence. The request is ignored including all its arguments. Not a character, not today. ๐ซmissing manual name, using ""โ (mdoc) The first call toNm, or any call in theNAMEsection, lacks the required argument. So we use "" (empty string). Placeholder era. ๐uname(3) system call failed, using UNKNOWNโ (mdoc) TheOsmacro is called without arguments, and theuname(3)system call failed. As a workaround,mandoccan be compiled with-DOSNAME="\"string\"". When in doubt, UNKNOWN. ๐ปunknown standard specifierโ (mdoc) AnStmacro has an unknown argument and is discarded. Standards? Never heard of her. ๐skipping request without numeric argumentโ (roff, eqn) Anitrequest or aneqn(7)sizeorgsizestatement has a non-numeric or negative argument or no argument at all. The invalid request or statement is ignored. Numbers required, bestie. ๐ขexcessive shiftโ (roff) The argument of ashiftrequest is larger than the number of arguments of the macro that is currently being executed. All macro arguments are deleted and\n(.$is set to zero. Shift too hard, broke the system. ๐NOT IMPLEMENTED: .so with absolute path or ".."โ (roff) For security reasons,mandocallowssofile inclusion requests only with relative paths and only without ascending to any parent directory. By requesting the inclusion of a sensitive file, a malicious document might otherwise trick a privileged user into inadvertently displaying the file on the screen, revealing the file content to bystanders.mandoconly shows the path as it appears behindso. Stay in your lane, paths. ๐ก๏ธ.so request failedโ (roff) Servicing asorequest requires reading an external file, but the file could not be opened.mandoconly shows the path as it appears behindso. File not found, vibe not found. ๐ญskipping all argumentsโ (mdoc, man, eqn, roff) Anmdoc(7)Bt,Ed,Ef,Ek,El,Lp,Pp,Re,Rs, orUdmacro, anItmacro in a list that donโt support item heads, aman(7)LP,P, orPPmacro, aneqn(7)EQorENmacro, or aroff(7)br,fi, ornfrequest or โ..โ block closing request is invoked with at least one argument. All arguments are ignored. Args? Never met her. ๐skipping excess argumentsโ (mdoc, man, roff) A macro or request is invoked with too many arguments:Fo,MT,PD,RS,UR,ft, orspwith more than one argumentAnwith another argument after-splitor-nosplitREwith more than one argument or with a non-integer argumentOPor a request of thedefamily with more than two argumentsDtwith more than three argumentsTHwith more than five argumentsBd,Bk, orBlwith invalid arguments The excess arguments are ignored. Too many args, not enough chill. ๐
โจ Unsupported features โจ
input too largeโ (mdoc, man) Currently,mandoccannot handle input files larger than its arbitrary size limit of 2^31 bytes (2 Gigabytes). Since useful manuals are always small, this is not a problem in practice. Parsing is aborted as soon as the condition is detected. 2GB? Bestie, thatโs not a manual, thatโs a whole vibe. ๐unsupported control characterโ (roff) An ASCII control character supported by otherroff(7)implementations but not bymandocwas found in an input file. It is replaced by a question mark. ? era. โunsupported escape sequenceโ (roff) An input file contains an escape sequence supported by GNU troff or Heirloom troff but not bymandoc, and it is likely that this will cause information loss or considerable misformatting. Not us being extra, we just canโt. ๐ญunsupported roff requestโ (roff) An input file contains aroff(7)request supported by GNU troff or Heirloom troff but not bymandoc, and it is likely that this will cause information loss or considerable misformatting. Same energy as above. ๐eqn delim option in tblโ (eqn, tbl) The options line of a table defines equation delimiters. Any equation source code contained in the table will be printed unformatted. Raw and unbothered. ๐งunsupported table layout modifierโ (tbl) A table layout specification contains an โmโ modifier. The modifier is discarded. Bye, modifier. ๐ignoring macro in tableโ (tbl, mdoc, man) A table contains an invocation of anmdoc(7)orman(7)macro or of an undefined macro. The macro is ignored, and its arguments are handled as if they were a text line. Macro? In this table? Itโs more likely than you think. ๐skipping tbl in -Tman modeโ (mdoc, tbl) An input file contains theTSmacro. This message is only generated in-T manoutput mode, wheretbl(7)input is not supported. Not in this mode, bestie. ๐ซskipping eqn in -Tman modeโ (mdoc, eqn) An input file contains theEQmacro. This message is only generated in-T manoutput mode, whereeqn(7)input is not supported. Same vibe, different macro. ๐
๐ Bad command line arguments ๐
bad command line argumentโ The argument following one of the-IKMmOTWcommand line options is invalid, or a file given as a command line argument cannot be opened. Not the vibe weโre looking for. ๐ฌduplicate command line argumentโ The-Icommand line option was specified twice. Once is enough, bestie. ๐option has a superfluous valueโ An argument to the-Ooption has a value but does not accept one. Extra value, no thank you. ๐ โโ๏ธmissing option valueโ An argument to the-Ooption has no argument but requires one. Whereโs the value? Not here. ๐ณ๏ธbad option valueโ An argument to the-Oindentorwidthoption has an invalid value. Value not valid, vibe not valid. ๐duplicate option valueโ The same-Ooption is specified more than once. We heard you the first time. ๐no such tagโ bestie, you asked for a tag with-O tagand it's justโฆ not there?? ๐ It wasn't found in any of the manual pages being displayed. Like, we looked. Everywhere. Nothing. ๐-Tmarkdown unsupported for man(7) inputโ (man) okay so you hit us with-T markdownbut this input file is speakingman(7)language, and markdown is not its love language. No output is produced for that input file. Zero. Nada. Not even a little. ๐ญ
๐ SEE ALSO ๐
If you're obsessed with us (understandable, main character energy), go say hi to the whole friend group:
๐ HISTORY ๐
The mandoc utility first appeared in OpenBSD 4.8. Iconic debut, no notes. ๐
Then the glow-up era:
-Iappeared in OpenBSD 5.2 โจ- and
-aCcfhKklMSswappeared in OpenBSD 5.7 ๐
Not a single one of those flags skipped leg day. Periodt. ๐ช
๐ซถ AUTHORS ๐ซถ
The mandoc utility was written by Kristaps Dzonsons <kristaps@bsd.lv> and is maintained by Ingo Schwarze <schwarze@openbsd.org>.
Give them their flowers, fr fr. ๐ They literally built the thing you're reading about right now. ๐ธ
okay that's a wrap on the whole page bestie!! ๐ฆ This version came from Debian, dated August 14, 2021, and it lives under the name MANDOC(1). Now go read a manual page, you absolute scholar. ๐ญ๐๐
๐ฆ where this page comes from
- alpine 3.22: mandoc-doc 1.14.6-r13 ยท ISC
- alpine 3.23: mandoc-doc 1.14.6-r14 ยท ISC
- alpine 3.24: mandoc-doc 1.14.6-r15 ยท ISC
- arch rolling: mandoc 1.14.6-5 ยท ISC
- debian trixie: mandoc 1.14.6-4 ยท ISC
- epel 10: mandoc 1.14.6-11.el10_1 ยท ISC AND BSD-2-Clause AND BSD-3-Clause
- epel 9: mandoc 1.14.6-2.el9 ยท ISC
- fedora 43: mandoc 1.14.6-12.fc43 ยท ISC AND BSD-2-Clause AND BSD-3-Clause
- fedora 44: mandoc 1.14.6-13.fc44 ยท ISC AND BSD-2-Clause AND BSD-3-Clause
- nixos 26.05: mandoc 1.14.6
- nixpkgs unstable: mandoc 1.14.6
- opensuse-leap 16.0: mandoc 1.14.6-160000.2.2 ยท ISC
- opensuse-leap 16.0: mandoc 1.14.6-160000.2.2 ยท ISC
- opensuse-leap 16.0: mandoc 1.14.6-160000.2.2 ยท ISC
- opensuse-leap 16.0: mandoc 1.14.6-160000.2.2 ยท ISC
- ubuntu questing: mandoc 1.14.6-4
- ubuntu resolute: mandoc 1.14.6-4build1 ยท ISC
- ubuntu stonking: mandoc 1.14.6-4build1 ยท ISC
- Copyright (c) 2012, 2014-2021 Ingo Schwarze <schwarze@openbsd.org>
- Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms