1 .\" $Id: mdoc.7,v 1.180 2011/02/09 10:03:02 kristaps Exp $
3 .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
4 .\" Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
6 .\" Permission to use, copy, modify, and distribute this software for any
7 .\" purpose with or without fee is hereby granted, provided that the above
8 .\" copyright notice and this permission notice appear in all copies.
10 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 .Dd $Mdocdate: February 9 2011 $
23 .Nd mdoc language reference
27 language is used to format
31 This reference document describes its syntax, structure, and
33 The reference implementation is
37 section describes compatibility with other troff \-mdoc implementations.
41 document follows simple rules: lines beginning with the control
44 are parsed for macros.
45 Other lines are interpreted within the scope of
47 .Bd -literal -offset indent
48 \&.Sh Macro lines change control state.
49 Other lines are interpreted within the current state.
53 documents may contain only graphable 7-bit ASCII characters, the space
54 character, and, in certain circumstances, the tab character.
56 If the first character of a line is a space, that line is printed
57 with a leading newline.
61 whether in a macro or free-form text line, is ignored to the end of
63 A macro line with only a control character and comment escape,
66 Macro lines with only a control character and optional whitespace are
68 .Ss Reserved Characters
69 Within a macro line, the following characters are reserved:
71 .Bl -tag -width Ds -offset indent -compact
96 Use of reserved characters is described in
98 For general use in macro lines, these characters can either be escaped
99 with a non-breaking space
101 or, if applicable, an appropriate escape sequence can be used.
102 .Ss Special Characters
103 Special characters may occur in both macro and free-form lines.
104 Sequences begin with the escape character
106 followed by either an open-parenthesis
108 for two-character sequences; an open-bracket
110 for n-character sequences (terminated at a close-bracket
112 or a single one character sequence.
123 Terms may be text-decorated using the
125 escape followed by an indicator: B (bold), I (italic), R (Roman), or P
126 (revert to previous mode):
128 .Dl \efBbold\efR \efIitalic\efP
130 A numerical representation 3, 2, or 1 (bold, italic, and Roman,
131 respectively) may be used instead.
132 A text decoration is valid within
133 the current font scope only: if a macro opens a font scope alongside
134 its own scope, such as
137 in-scope invocations of
139 are only valid within the font scope of the macro.
142 is specified outside of any font scope, such as in unenclosed, free-form
143 text, it will affect the remainder of the document.
149 which encourages semantic annotation.
150 .Ss Predefined Strings
153 also defined a set of package-specific
154 .Dq predefined strings ,
156 .Sx Special Characters ,
157 mark special output characters and strings by way of input codes.
158 Predefined strings are escaped with the slash-asterisk,
176 Whitespace consists of the space character.
177 In free-form lines, whitespace is preserved within a line; unescaped
178 trailing spaces are stripped from input (unless in a literal context).
179 Blank free-form lines, which may include whitespace, are only permitted
180 within literal contexts.
182 In macro lines, whitespace delimits arguments and is discarded.
183 If arguments are quoted, whitespace within the quotes is retained.
185 Macro arguments may be quoted with double-quotes to group
186 space-delimited terms or to retain blocks of whitespace.
187 A quoted argument begins with a double-quote preceded by whitespace.
188 The next double-quote not pairwise adjacent to another double-quote
189 terminates the literal, regardless of surrounding whitespace.
191 Note that any quoted text, even if it would cause a macro invocation
192 when unquoted, is considered literal text.
193 Thus, the following produces
195 .Bd -literal -offset indent
199 In free-form mode, quotes are regarded as opaque text.
201 There are several macros in
203 that require a date argument.
204 The canonical form for dates is the American format:
206 .D1 Cm Month Day , Year
210 value is an optionally zero-padded numeral.
213 value is the full month name.
216 value is the full four-digit year.
218 Reduced form dates are broken-down canonical form dates:
223 Some examples of valid dates follow:
225 .D1 "May, 2009" Pq reduced form
226 .D1 "2009" Pq reduced form
227 .D1 "May 20, 2009" Pq canonical form
229 Many macros support scaled widths for their arguments, such as
230 stipulating a two-inch list indentation with the following:
231 .Bd -literal -offset indent
235 The syntax for scaled widths is
236 .Sq Li [+-]?[0-9]*.[0-9]*[:unit:] ,
237 where a decimal must be preceded or proceeded by at least one digit.
238 Negative numbers, while accepted, are truncated to zero.
239 The following scaling units are accepted:
241 .Bl -tag -width Ds -offset indent -compact
254 default vertical span
266 default horizontal span
271 Using anything other than
277 is necessarily non-portable across output media.
281 When composing a manual, make sure that sentences end at the end of
283 By doing so, front-ends will be able to apply the proper amount of
284 spacing after the end of sentence (unescaped) period, exclamation mark,
285 or question mark followed by zero or more non-sentence closing
294 The proper spacing is also intelligently preserved if a sentence ends at
295 the boundary of a macro line.
299 .Dl \&Fl T \&Ns \&Cm ascii \.
303 document consists of a document prologue followed by one or more
306 The prologue, which consists of the
311 macros in that order, is required for every document.
313 The first section (sections are denoted by
315 must be the NAME section, consisting of at least one
320 Following that, convention dictates specifying at least the
324 sections, although this varies between manual sections.
326 The following is a well-formed skeleton
329 .Bd -literal -offset indent
335 \&.Nd a description goes here
337 \&.\e\*q For sections 2, 3, & 9 only.
338 \&.\e\*q Not used in OpenBSD.
346 utility processes files ...
347 \&.\e\*q .Sh IMPLEMENTATION NOTES
348 \&.\e\*q Not used in OpenBSD.
349 \&.\e\*q .Sh RETURN VALUES
350 \&.\e\*q For sections 2, 3, & 9 only.
351 \&.\e\*q .Sh ENVIRONMENT
352 \&.\e\*q For sections 1, 6, 7, & 8 only.
354 \&.\e\*q .Sh EXIT STATUS
355 \&.\e\*q For sections 1, 6, & 8 only.
356 \&.\e\*q .Sh EXAMPLES
357 \&.\e\*q .Sh DIAGNOSTICS
358 \&.\e\*q For sections 1, 4, 6, 7, & 8 only.
360 \&.\e\*q For sections 2, 3, & 9 only.
361 \&.\e\*q .Sh SEE ALSO
362 \&.\e\*q .Xr foobar 1
363 \&.\e\*q .Sh STANDARDS
368 \&.\e\*q .Sh SECURITY CONSIDERATIONS
369 \&.\e\*q Not used in OpenBSD.
374 document are conventionally ordered as they appear above.
375 Sections should be composed as follows:
376 .Bl -ohang -offset Ds
378 The name(s) and a one line description of the documented material.
379 The syntax for this as follows:
380 .Bd -literal -offset indent
384 \&.Nd a one line description
389 macro(s) must precede the
398 The name of the library containing the documented material, which is
399 assumed to be a function in a section 2, 3, or 9 manual.
400 The syntax for this is as follows:
401 .Bd -literal -offset indent
408 Documents the utility invocation syntax, function call syntax, or device
411 For the first, utilities (sections 1, 6, and 8), this is
412 generally structured as follows:
413 .Bd -literal -offset indent
424 For the second, function calls (sections 2, 3, 9):
425 .Bd -literal -offset indent
427 \&.Vt extern const char *global;
429 \&.Fn foo "const char *src"
431 \&.Fn bar "const char *src"
434 And for the third, configurations (section 4):
435 .Bd -literal -offset indent
436 \&.Cd \*qit* at isa? port 0x2e\*q
437 \&.Cd \*qit* at isa? port 0x4e\*q
440 Manuals not in these sections generally don't need a
443 Some macros are displayed differently in the
445 section, particularly
455 All of these macros are output on their own line.
456 If two such dissimilar macros are pairwise invoked (except for
462 they are separated by a vertical space, unless in the case of
467 which are always separated by vertical space.
469 When text and macros following an
471 macro starting an input line span multiple output lines,
472 all output lines but the first will be indented to align
473 with the text immediately following the
475 macro, up to the next
480 macro or the end of an enclosing block, whichever comes first.
482 This expands upon the brief, one line description in
484 It usually contains a breakdown of the options (if documenting a
486 .Bd -literal -offset indent
487 The arguments are as follows:
488 \&.Bl \-tag \-width Ds
490 Print verbose information.
494 Manuals not documenting a command won't include the above fragment.
495 .It Em IMPLEMENTATION NOTES
496 Implementation-specific notes should be kept here.
497 This is useful when implementing standard functions that may have side
498 effects or notable algorithmic implications.
500 This section documents the
501 return values of functions in sections 2, 3, and 9.
506 Lists the environment variables used by the utility,
507 and explains the syntax and semantics of their values.
510 manual provides examples of typical content and formatting.
515 Documents files used.
516 It's helpful to document both the file name and a short description of how
517 the file is used (created, modified, etc.).
522 This section documents the
523 command exit status for section 1, 6, and 8 utilities.
524 Historically, this information was described in
526 a practise that is now discouraged.
532 This often contains snippets of well-formed, well-tested invocations.
533 Make sure that examples work properly!
535 Documents error conditions.
536 This is most useful in section 4 manuals.
537 Historically, this section was used in place of
539 for manuals in sections 1, 6, and 8; however, this practise is
546 Documents error handling in sections 2, 3, and 9.
551 References other manuals with related topics.
552 This section should exist for most manuals.
553 Cross-references should conventionally be ordered first by section, then
559 References any standards implemented or used.
560 If not adhering to any standards, the
562 section should be used instead.
567 A brief history of the subject, including where support first appeared.
569 Credits to the person or persons who wrote the code and/or documentation.
570 Authors should generally be noted by both name and email address.
575 Common misuses and misunderstandings should be explained
578 Known bugs, limitations, and work-arounds should be described
580 .It Em SECURITY CONSIDERATIONS
581 Documents any security precautions that operators should consider.
584 Macros are one to three three characters in length and begin with a
587 at the beginning of the line.
588 An arbitrary amount of whitespace may sit between the control character
590 Thus, the following are equivalent:
591 .Bd -literal -offset indent
596 The syntax of a macro depends on its classification.
599 refers to macro arguments, which may be followed by zero or more
603 opens the scope of a macro; and if specified,
609 column indicates that the macro may also be called by passing its name
610 as an argument to another macro.
611 If a macro is not callable but its name appears as an argument
612 to another macro, it is interpreted as opaque text.
620 column indicates whether the macro may call other macros by receiving
621 their names as arguments.
622 If a macro is not parsed but the name of another macro appears
623 as an argument, it is interpreted as opaque text.
627 column, if applicable, describes closure rules.
628 .Ss Block full-explicit
629 Multi-line scope closed by an explicit closing macro.
630 All macros contains bodies; only
633 .Bd -literal -offset indent
634 \&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead...\(rB
639 .Bl -column -compact -offset indent "MacroX" "CallableX" "ParsedX" "closed by XXX"
640 .It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope
641 .It Sx \&Bd Ta \&No Ta \&No Ta closed by Sx \&Ed
642 .It Sx \&Bf Ta \&No Ta \&No Ta closed by Sx \&Ef
643 .It Sx \&Bk Ta \&No Ta \&No Ta closed by Sx \&Ek
644 .It Sx \&Bl Ta \&No Ta \&No Ta closed by Sx \&El
645 .It Sx \&Ed Ta \&No Ta \&No Ta opened by Sx \&Bd
646 .It Sx \&Ef Ta \&No Ta \&No Ta opened by Sx \&Bf
647 .It Sx \&Ek Ta \&No Ta \&No Ta opened by Sx \&Bk
648 .It Sx \&El Ta \&No Ta \&No Ta opened by Sx \&Bl
650 .Ss Block full-implicit
651 Multi-line scope closed by end-of-file or implicitly by another macro.
652 All macros have bodies; some
660 don't have heads; only one
667 .Bd -literal -offset indent
668 \&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead... \(lBTa head...\(rB\(rB
672 .Bl -column -compact -offset indent "MacroX" "CallableX" "ParsedX" "closed by XXXXXXXXXXX"
673 .It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope
674 .It Sx \&It Ta \&No Ta Yes Ta closed by Sx \&It , Sx \&El
675 .It Sx \&Nd Ta \&No Ta \&No Ta closed by Sx \&Sh
676 .It Sx \&Nm Ta \&No Ta Yes Ta closed by Sx \&Nm , Sx \&Sh , Sx \&Ss
677 .It Sx \&Sh Ta \&No Ta \&No Ta closed by Sx \&Sh
678 .It Sx \&Ss Ta \&No Ta \&No Ta closed by Sx \&Sh , Sx \&Ss
684 .Sx Block full-implicit
685 macro only when invoked as the first macro
688 section line, else it is
690 .Ss Block partial-explicit
691 Like block full-explicit, but also with single-line scope.
692 Each has at least a body and, in limited circumstances, a head
699 .Bd -literal -offset indent
700 \&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead...\(rB
702 \&.Yc \(lBtail...\(rB
704 \&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead...\(rB \
705 \(lBbody...\(rB \&Yc \(lBtail...\(rB
708 .Bl -column "MacroX" "CallableX" "ParsedX" "closed by XXXX" -compact -offset indent
709 .It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope
710 .It Sx \&Ac Ta Yes Ta Yes Ta opened by Sx \&Ao
711 .It Sx \&Ao Ta Yes Ta Yes Ta closed by Sx \&Ac
712 .It Sx \&Bc Ta Yes Ta Yes Ta closed by Sx \&Bo
713 .It Sx \&Bo Ta Yes Ta Yes Ta opened by Sx \&Bc
714 .It Sx \&Brc Ta Yes Ta Yes Ta opened by Sx \&Bro
715 .It Sx \&Bro Ta Yes Ta Yes Ta closed by Sx \&Brc
716 .It Sx \&Dc Ta Yes Ta Yes Ta opened by Sx \&Do
717 .It Sx \&Do Ta Yes Ta Yes Ta closed by Sx \&Dc
718 .It Sx \&Ec Ta Yes Ta Yes Ta opened by Sx \&Eo
719 .It Sx \&Eo Ta Yes Ta Yes Ta closed by Sx \&Ec
720 .It Sx \&Fc Ta Yes Ta Yes Ta opened by Sx \&Fo
721 .It Sx \&Fo Ta \&No Ta \&No Ta closed by Sx \&Fc
722 .It Sx \&Oc Ta Yes Ta Yes Ta closed by Sx \&Oo
723 .It Sx \&Oo Ta Yes Ta Yes Ta opened by Sx \&Oc
724 .It Sx \&Pc Ta Yes Ta Yes Ta closed by Sx \&Po
725 .It Sx \&Po Ta Yes Ta Yes Ta opened by Sx \&Pc
726 .It Sx \&Qc Ta Yes Ta Yes Ta opened by Sx \&Oo
727 .It Sx \&Qo Ta Yes Ta Yes Ta closed by Sx \&Oc
728 .It Sx \&Re Ta \&No Ta \&No Ta opened by Sx \&Rs
729 .It Sx \&Rs Ta \&No Ta \&No Ta closed by Sx \&Re
730 .It Sx \&Sc Ta Yes Ta Yes Ta opened by Sx \&So
731 .It Sx \&So Ta Yes Ta Yes Ta closed by Sx \&Sc
732 .It Sx \&Xc Ta Yes Ta Yes Ta opened by Sx \&Xo
733 .It Sx \&Xo Ta Yes Ta Yes Ta closed by Sx \&Xc
735 .Ss Block partial-implicit
736 Like block full-implicit, but with single-line scope closed by
737 .Sx Reserved Characters
739 .Bd -literal -offset indent
740 \&.Yo \(lB\-arg \(lBval...\(rB\(rB \(lBbody...\(rB \(lBres...\(rB
743 .Bl -column "MacroX" "CallableX" "ParsedX" -compact -offset indent
744 .It Em Macro Ta Em Callable Ta Em Parsed
745 .It Sx \&Aq Ta Yes Ta Yes
746 .It Sx \&Bq Ta Yes Ta Yes
747 .It Sx \&Brq Ta Yes Ta Yes
748 .It Sx \&D1 Ta \&No Ta \&Yes
749 .It Sx \&Dl Ta \&No Ta Yes
750 .It Sx \&Dq Ta Yes Ta Yes
751 .It Sx \&Op Ta Yes Ta Yes
752 .It Sx \&Pq Ta Yes Ta Yes
753 .It Sx \&Ql Ta Yes Ta Yes
754 .It Sx \&Qq Ta Yes Ta Yes
755 .It Sx \&Sq Ta Yes Ta Yes
756 .It Sx \&Vt Ta Yes Ta Yes
762 .Sx Block partial-implicit
763 only when invoked as the first macro
766 section line, else it is
770 .Sx Reserved Characters ,
771 end of line, fixed argument lengths, and/or subsequent macros.
772 In-line macros have only text children.
773 If a number (or inequality) of arguments is
775 then the macro accepts an arbitrary number of arguments.
776 .Bd -literal -offset indent
777 \&.Yo \(lB\-arg \(lBval...\(rB\(rB \(lBargs...\(rB \(lBres...\(rB
779 \&.Yo \(lB\-arg \(lBval...\(rB\(rB \(lBargs...\(rB Yc...
781 \&.Yo \(lB\-arg \(lBval...\(rB\(rB arg0 arg1 argN
784 .Bl -column "MacroX" "CallableX" "ParsedX" "Arguments" -compact -offset indent
785 .It Em Macro Ta Em Callable Ta Em Parsed Ta Em Arguments
786 .It Sx \&%A Ta \&No Ta \&No Ta >0
787 .It Sx \&%B Ta \&No Ta \&No Ta >0
788 .It Sx \&%C Ta \&No Ta \&No Ta >0
789 .It Sx \&%D Ta \&No Ta \&No Ta >0
790 .It Sx \&%I Ta \&No Ta \&No Ta >0
791 .It Sx \&%J Ta \&No Ta \&No Ta >0
792 .It Sx \&%N Ta \&No Ta \&No Ta >0
793 .It Sx \&%O Ta \&No Ta \&No Ta >0
794 .It Sx \&%P Ta \&No Ta \&No Ta >0
795 .It Sx \&%Q Ta \&No Ta \&No Ta >0
796 .It Sx \&%R Ta \&No Ta \&No Ta >0
797 .It Sx \&%T Ta \&No Ta \&No Ta >0
798 .It Sx \&%U Ta \&No Ta \&No Ta >0
799 .It Sx \&%V Ta \&No Ta \&No Ta >0
800 .It Sx \&Ad Ta Yes Ta Yes Ta >0
801 .It Sx \&An Ta Yes Ta Yes Ta >0
802 .It Sx \&Ap Ta Yes Ta Yes Ta 0
803 .It Sx \&Ar Ta Yes Ta Yes Ta n
804 .It Sx \&At Ta Yes Ta Yes Ta 1
805 .It Sx \&Bsx Ta Yes Ta Yes Ta n
806 .It Sx \&Bt Ta \&No Ta \&No Ta 0
807 .It Sx \&Bx Ta Yes Ta Yes Ta n
808 .It Sx \&Cd Ta Yes Ta Yes Ta >0
809 .It Sx \&Cm Ta Yes Ta Yes Ta >0
810 .It Sx \&Db Ta \&No Ta \&No Ta 1
811 .It Sx \&Dd Ta \&No Ta \&No Ta n
812 .It Sx \&Dt Ta \&No Ta \&No Ta n
813 .It Sx \&Dv Ta Yes Ta Yes Ta >0
814 .It Sx \&Dx Ta Yes Ta Yes Ta n
815 .It Sx \&Em Ta Yes Ta Yes Ta >0
816 .It Sx \&En Ta \&No Ta \&No Ta 0
817 .It Sx \&Er Ta Yes Ta Yes Ta >0
818 .It Sx \&Es Ta \&No Ta \&No Ta 0
819 .It Sx \&Ev Ta Yes Ta Yes Ta >0
820 .It Sx \&Ex Ta \&No Ta \&No Ta n
821 .It Sx \&Fa Ta Yes Ta Yes Ta >0
822 .It Sx \&Fd Ta \&No Ta \&No Ta >0
823 .It Sx \&Fl Ta Yes Ta Yes Ta n
824 .It Sx \&Fn Ta Yes Ta Yes Ta >0
825 .It Sx \&Fr Ta \&No Ta \&No Ta n
826 .It Sx \&Ft Ta Yes Ta Yes Ta >0
827 .It Sx \&Fx Ta Yes Ta Yes Ta n
828 .It Sx \&Hf Ta \&No Ta \&No Ta n
829 .It Sx \&Ic Ta Yes Ta Yes Ta >0
830 .It Sx \&In Ta \&No Ta \&No Ta n
831 .It Sx \&Lb Ta \&No Ta \&No Ta 1
832 .It Sx \&Li Ta Yes Ta Yes Ta >0
833 .It Sx \&Lk Ta Yes Ta Yes Ta >0
834 .It Sx \&Lp Ta \&No Ta \&No Ta 0
835 .It Sx \&Ms Ta Yes Ta Yes Ta >0
836 .It Sx \&Mt Ta Yes Ta Yes Ta >0
837 .It Sx \&Nm Ta Yes Ta Yes Ta n
838 .It Sx \&No Ta Yes Ta Yes Ta 0
839 .It Sx \&Ns Ta Yes Ta Yes Ta 0
840 .It Sx \&Nx Ta Yes Ta Yes Ta n
841 .It Sx \&Os Ta \&No Ta \&No Ta n
842 .It Sx \&Ot Ta \&No Ta \&No Ta n
843 .It Sx \&Ox Ta Yes Ta Yes Ta n
844 .It Sx \&Pa Ta Yes Ta Yes Ta n
845 .It Sx \&Pf Ta Yes Ta Yes Ta 1
846 .It Sx \&Pp Ta \&No Ta \&No Ta 0
847 .It Sx \&Rv Ta \&No Ta \&No Ta n
848 .It Sx \&Sm Ta \&No Ta \&No Ta 1
849 .It Sx \&St Ta \&No Ta Yes Ta 1
850 .It Sx \&Sx Ta Yes Ta Yes Ta >0
851 .It Sx \&Sy Ta Yes Ta Yes Ta >0
852 .It Sx \&Tn Ta Yes Ta Yes Ta >0
853 .It Sx \&Ud Ta \&No Ta \&No Ta 0
854 .It Sx \&Ux Ta Yes Ta Yes Ta n
855 .It Sx \&Va Ta Yes Ta Yes Ta n
856 .It Sx \&Vt Ta Yes Ta Yes Ta >0
857 .It Sx \&Xr Ta Yes Ta Yes Ta >0
858 .It Sx \&br Ta \&No Ta \&No Ta 0
859 .It Sx \&sp Ta \&No Ta \&No Ta 1
862 This section is a canonical reference of all macros, arranged
864 For the scoping of individual macros, see
870 Multiple authors should each be accorded their own
873 Author names should be ordered with full or abbreviated forename(s)
874 first, then full surname.
879 This macro may also be used in a non-bibliographic context when
880 referring to book titles.
882 Publication city or location of an
886 Publication date of an
889 This should follow the reduced or canonical form syntax described in
892 Publisher or issuer name of an
900 Issue number (usually for journals) of an
904 Optional information of an
908 Book or journal page number of an
912 Institutional author (school, government, etc.) of an
915 Multiple institutional authors should each be accorded their own
919 Technical report name of an
926 This macro may also be used in a non-bibliographical context when
927 referring to article titles.
929 URI of reference document.
938 Does not have any tail arguments.
941 Do not use this for postal addresses.
948 Requires either the name of an author or one of the following arguments:
950 .Bl -tag -width "-nosplitX" -offset indent -compact
952 Start a new output line before each subsequent invocation of
961 The effect of selecting either of the
963 modes ends at the beginning of the
968 section, the default is
970 for the first author listing and
972 for all other author listings.
976 .Dl \&.An Kristaps Dzonsons \&Aq kristaps@bsd.lv
978 Begin a block enclosed by angle brackets.
979 Does not have any head arguments.
982 .Dl \&.Fl -key= \&Ns \&Ao \&Ar val \&Ac
987 Inserts an apostrophe without any surrounding whitespace.
988 This is generally used as a grammatical device when referring to the verb
992 .Dl \&.Fn execve \&Ap d
994 Encloses its arguments in angle brackets.
997 .Dl \&.Fl -key= \&Ns \&Aq \&Ar val
1000 this macro is often abused for rendering URIs, which should instead use
1004 or to note pre-processor
1006 statements, which should use
1013 If an argument is not provided, the string
1015 is used as a default.
1018 .Dl \&.Fl o \&Ns \&Ar file1
1020 .Dl \&.Ar arg1 , arg2 .
1022 Formats an AT&T version.
1023 Accepts one optional argument:
1025 .Bl -tag -width "v[1-7] | 32vX" -offset indent -compact
1034 Note that these arguments do not begin with a hyphen.
1053 Does not have any tail arguments.
1055 Begin a display block.
1056 Its syntax is as follows:
1057 .Bd -ragged -offset indent
1060 .Op Fl offset Ar width
1064 Display blocks are used to select a different indentation and
1065 justification than the one used by the surrounding text.
1066 They may contain both macro lines and free-form text lines.
1067 By default, a display block is preceded by a vertical space.
1071 must be one of the following:
1072 .Bl -tag -width 13n -offset indent
1074 Centre-justify each line.
1075 Using this display type is not recommended; many
1077 implementations render it poorly.
1079 Left- and right-justify the block.
1081 Do not justify the block at all.
1082 Preserve white space as it appears in the input.
1084 Only left-justify the block.
1092 must be provided first.
1093 Additional arguments may follow:
1094 .Bl -tag -width 13n -offset indent
1095 .It Fl offset Ar width
1096 Indent the display by the
1098 which may be one of the following:
1101 One of the pre-defined strings
1103 the width of standard indentation;
1108 which has no effect;
1110 which justifies to the right margin; or
1112 which aligns around an imagined centre axis.
1114 A macro invocation, which selects a predefined width
1115 associated with that macro.
1116 The most popular is the imaginary macro
1121 A width using the syntax described in
1122 .Sx Scaling Widths .
1124 An arbitrary string, which indents by the length of this string.
1127 When the argument is missing,
1131 Do not assert vertical space before the display.
1135 .Bd -literal -offset indent
1136 \&.Bd \-literal \-offset indent \-compact
1146 Change the font mode for a scoped block of text.
1147 Its syntax is as follows:
1148 .Bd -ragged -offset indent
1151 .Fl emphasis | literal | symbolic |
1152 .Cm \&Em | \&Li | \&Sy
1160 argument are equivalent, as are
1168 Without an argument, this macro does nothing.
1169 The font mode continues until broken by a new font mode in a nested
1181 Keep the output generated from each macro input line together
1182 on one single output line.
1183 Line breaks in free-form text lines are unaffected.
1184 The syntax is as follows:
1186 .D1 Pf \. Sx \&Bk Fl words
1190 argument is required; additional arguments are ignored.
1192 The following example will not break within each
1195 .Bd -literal -offset indent
1198 \&.Op Fl o Ar output
1202 Be careful in using over-long lines within a keep block!
1203 Doing so will clobber the right margin.
1206 Lists consist of items specified using the
1208 macro, containing a head or a body or both.
1209 The list syntax is as follows:
1210 .Bd -ragged -offset indent
1214 .Op Fl offset Ar val
1221 is mandatory and must be specified first.
1228 or use the length of the given string.
1231 is a global indentation for the whole list, affecting both item heads
1233 For those list types supporting it, the
1235 argument requests an additional indentation of item bodies,
1240 argument is specified, list entries are separated by vertical space.
1242 A list must specify one of the following list types:
1243 .Bl -tag -width 12n -offset indent
1245 No item heads can be specified, but a bullet will be printed at the head
1247 Item bodies start on the same output line as the bullet
1248 and are indented according to the
1255 argument has no effect; instead, each argument specifies the width
1256 of one column, using either the
1258 syntax or the string length of the argument.
1259 If the first line of the body of a
1265 contexts spanning one input line each are implied until an
1267 macro line is encountered, at which point items start being interpreted as
1274 except that dashes are used in place of bullets.
1278 except that item heads are not parsed for macro invocations.
1279 .\" but with additional formatting to the head.
1284 except that cardinal numbers are used in place of bullets,
1289 except that the first lines of item bodies are not indented, but follow
1290 the item heads like in
1297 Item bodies follow items heads on the same line, using normal inter-word
1299 Bodies are not indented, and the
1301 argument is ignored.
1303 No item heads can be specified, and none are printed.
1304 Bodies are not indented, and the
1306 argument is ignored.
1308 Item bodies start on the line following item heads and are not indented.
1311 argument is ignored.
1313 Item bodies are indented according to the
1316 When an item head fits inside the indentation, the item body follows
1317 this head on the same output line.
1318 Otherwise, the body starts on the output line following the head.
1326 Begin a block enclosed by square brackets.
1327 Does not have any head arguments.
1330 .Bd -literal -offset indent -compact
1338 Encloses its arguments in square brackets.
1341 .Dl \&.Bq 1 , \&Dv BUFSIZ
1344 this macro is sometimes abused to emulate optional arguments for
1345 commands; the correct macros to use for this purpose are
1357 Does not have any tail arguments.
1359 Begin a block enclosed by curly braces.
1360 Does not have any head arguments.
1363 .Bd -literal -offset indent -compact
1371 Encloses its arguments in curly braces.
1374 .Dl \&.Brq 1 , ... , \&Va n
1379 Format the BSD/OS version provided as an argument, or a default value if
1380 no argument is provided.
1397 .Dq is currently in beta test .
1399 Format the BSD version provided as an argument, or a default value if no
1400 argument is provided.
1416 Kernel configuration declaration.
1417 This denotes strings accepted by
1421 .Dl \&.Cd device le0 at scode?
1424 this macro is commonly abused by using quoted literals to retain
1425 whitespace and align consecutive
1428 This practise is discouraged.
1431 Useful when specifying configuration options or keys.
1434 .Dl \&.Cm ControlPath
1435 .Dl \&.Cm ControlMaster
1440 One-line indented display.
1441 This is formatted by the default rules and is useful for simple indented
1443 It is followed by a newline.
1446 .Dl \&.D1 \&Fl abcdefgh
1453 Switch debugging mode.
1454 Its syntax is as follows:
1456 .D1 Pf \. Sx \&Db Cm on | off
1458 This macro is ignored by
1464 Does not have any tail arguments.
1467 This is the mandatory first macro of any
1470 Its syntax is as follows:
1472 .D1 Pf \. Sx \&Dd Op Ar date
1478 which signifies the current manual revision date dictated by
1480 or instead a valid canonical date as specified by
1482 If a date does not conform or is empty, the current date is used.
1485 .Dl \&.Dd $\&Mdocdate$
1486 .Dl \&.Dd $\&Mdocdate: July 21 2007$
1487 .Dl \&.Dd July 21, 2007
1494 One-line intended display.
1495 This is formatted as literal text and is useful for commands and
1497 It is followed by a newline.
1500 .Dl \&.Dl % mandoc mdoc.7 \e(ba less
1507 Begin a block enclosed by double quotes.
1508 Does not have any head arguments.
1511 .Bd -literal -offset indent -compact
1513 April is the cruellest month
1521 Encloses its arguments in
1526 .Bd -literal -offset indent -compact
1527 \&.Dq April is the cruellest month
1538 This is the mandatory second macro of any
1541 Its syntax is as follows:
1542 .Bd -ragged -offset indent
1548 .Op Ar volume | arch
1553 Its arguments are as follows:
1554 .Bl -tag -width Ds -offset Ds
1556 The document's title (name), defaulting to
1559 It should be capitalised.
1570 .Pq Perl libraries ,
1580 .Pq system utilities ,
1582 .Pq kernel functions ,
1584 .Pq X Window System ,
1586 .Pq X Window System ,
1596 It should correspond to the manual's filename suffix and defaults to
1600 This overrides the volume inferred from
1602 This field is optional, and if specified, must be one of
1604 .Pq users' supplementary documents ,
1606 .Pq programmers' supplementary documents ,
1608 .Pq administrators' supplementary documents ,
1610 .Pq system managers' manuals ,
1612 .Pq users' reference manuals ,
1614 .Pq programmers' reference manuals ,
1616 .Pq kernel manuals ,
1627 .Pq contributed manuals .
1629 This specifies a specific relevant architecture.
1632 is not provided, it may be used in its place, else it may be used
1634 It, too, is optional.
1670 .Dl \&.Dt FOO 9 i386
1677 Defined variables such as preprocessor constants.
1681 .Dl \&.Dv STDOUT_FILENO
1686 Format the DragonFly BSD version provided as an argument, or a default
1687 value if no argument is provided.
1703 Close a scope started by
1705 Its syntax is as follows:
1707 .D1 Pf \. Sx \&Ec Op Ar TERM
1711 argument is used as the enclosure tail, for example, specifying \e(rq
1715 End a display context started by
1718 End a font mode context started by
1721 End a keep context started by
1724 End a list context started by
1732 Denotes text that should be emphasised.
1733 Note that this is a presentation term and should not be used for
1734 stylistically decorating technical terms.
1746 This macro is obsolete and not implemented in
1749 An arbitrary enclosure.
1750 Its syntax is as follows:
1752 .D1 Pf \. Sx \&Eo Op Ar TERM
1756 argument is used as the enclosure head, for example, specifying \e(lq
1760 Display error constants.
1769 This macro is obsolete and not implemented.
1771 Environmental variables such as those specified in
1778 Insert a standard sentence regarding exit values.
1779 Its syntax is as follows:
1781 .D1 Pf \. Sx \&Ex Fl std Op Ar utility
1785 is not specified, the document's name set by
1793 Its syntax is as follows:
1794 .Bd -ragged -offset indent
1800 This may be invoked for names with or without the corresponding type.
1801 It is also used to specify the field name of a structure.
1804 macro is used in the
1808 section when documenting multi-line function prototypes.
1809 If invoked with multiple arguments, the arguments are separated by a
1811 Furthermore, if the following macro is another
1813 the last argument will also have a trailing comma.
1816 .Dl \&.Fa \(dqconst char *p\(dq
1817 .Dl \&.Fa \(dqint a\(dq \(dqint b\(dq \(dqint c\(dq
1823 End a function context started by
1826 Historically used to document include files.
1827 This usage has been deprecated in favour of
1829 Do not use this macro.
1832 .Sx MANUAL STRUCTURE
1837 Used when listing arguments to command-line utilities.
1838 Prints a fixed-width hyphen
1840 directly followed by each argument.
1841 If no arguments are provided, a hyphen is printed followed by a space.
1842 If the argument is a macro, a hyphen is prefixed to the subsequent macro
1849 .Dl \&.Op \&Fl o \&Ns \&Ar file
1855 Its syntax is as follows:
1856 .Bd -ragged -offset indent
1860 .Op Oo Cm argtype Oc Cm argname
1863 Function arguments are surrounded in parenthesis and
1864 are delimited by commas.
1865 If no arguments are specified, blank parenthesis are output.
1868 .Dl \&.Fn "int funcname" "int arg0" "int arg1"
1869 .Dl \&.Fn funcname "int arg0"
1870 .Dl \&.Fn funcname arg0
1871 .Bd -literal -offset indent -compact
1876 When referring to a function documented in another manual page, use
1880 .Sx MANUAL STRUCTURE
1884 Begin a function block.
1885 This is a multi-line version of
1887 Its syntax is as follows:
1889 .D1 Pf \. Sx \&Fo Cm funcname
1891 Invocations usually occur in the following context:
1892 .Bd -ragged -offset indent
1893 .Pf \. Sx \&Ft Cm functype
1895 .Pf \. Sx \&Fo Cm funcname
1897 .Pf \. Sx \&Fa Oo Cm argtype Oc Cm argname
1909 .Sx MANUAL STRUCTURE ,
1916 Its syntax is as follows:
1918 .D1 Pf \. Sx \&Ft Cm functype
1922 .Bd -literal -offset indent -compact
1928 .Sx MANUAL STRUCTURE ,
1935 version provided as an argument, or a default value
1936 if no argument is provided.
1952 This macro is obsolete and not implemented.
1954 Designate an internal or interactive command.
1957 but used for instructions rather than values.
1967 is preferred for displaying code; the
1969 macro is used when referring to specific instructions.
1976 section (only if invoked as the line macro), the first argument is
1979 the arguments is enclosed in angle brackets.
1985 .Sx MANUAL STRUCTURE .
1988 The syntax of this macro depends on the list type.
1997 have the following syntax:
1999 .D1 Pf \. Sx \&It Cm args
2008 have the following syntax:
2012 with subsequent lines interpreted within the scope of the
2014 until either a closing
2021 list has the following syntax:
2023 .D1 Pf \. Sx \&It Op Cm args
2025 Subsequent lines are interpreted as with
2028 The line arguments correspond to the list's left-hand side; body
2029 arguments correspond to the list's contents.
2033 list is the most complicated.
2034 Its syntax is as follows:
2036 .D1 Pf \. Sx \&It Op Cm args
2040 are phrases, a mix of macros and text corresponding to a line column,
2041 delimited by tabs or the special
2044 Lines subsequent the
2046 are interpreted within the scope of the last phrase.
2047 Calling the pseudo-macro
2049 will open a new phrase scope (this must occur on a macro line to be
2050 interpreted as a macro).
2051 Note that the tab phrase delimiter may only be used within the
2054 Subsequent this, only the
2056 pseudo-macro may be used to delimit phrases.
2057 Furthermore, note that quoted sections propagate over tab-delimited
2062 .Dl .It \(dqcol1 ; <TAB> col2 ;\(dq \&;
2064 will preserve the semicolon whitespace except for the last.
2070 The syntax is as follows:
2072 .D1 Pf \. Sx \&Lb Cm library
2076 parameter may be a system library, such as
2080 in which case a small library description is printed next to the linker
2081 invocation; or a custom library, in which case the library name is
2083 This is most commonly used in the
2085 section as described in
2086 .Sx MANUAL STRUCTURE .
2092 Denotes text that should be in a literal font mode.
2093 Note that this is a presentation term and should not be used for
2094 stylistically decorating technical terms.
2103 Its syntax is as follows:
2105 .D1 Pf \. Sx \&Lk Cm uri Op Cm name
2108 .Dl \&.Lk http://bsd.lv \*qThe BSD.lv Project\*q
2109 .Dl \&.Lk http://bsd.lv
2117 Display a mathematical symbol.
2118 Its syntax is as follows:
2120 .D1 Pf \. Sx \&Ms Cm symbol
2129 Its syntax is as follows:
2131 .D1 Pf \. Sx \&Mt Cm address
2134 .Dl \&.Mt discuss@manpages.bsd.lv
2136 A one line description of the manual's content.
2137 This may only be invoked in the
2139 section subsequent the
2144 .Dl \&.Sx \&Nd mdoc language reference
2145 .Dl \&.Sx \&Nd format and display UNIX manuals
2149 macro technically accepts child macros and terminates with a subsequent
2152 Do not assume this behaviour: some
2154 database generators are not smart enough to parse more than the line
2155 arguments and will display macros verbatim.
2160 The name of the manual page, or \(em in particular in section 1, 6,
2161 and 8 pages \(em of an additional command or feature documented in
2163 When first invoked, the
2165 macro expects a single argument, the name of the manual page.
2166 Usually, the first invocation happens in the
2168 section of the page.
2169 The specified name will be remembered and used whenever the macro is
2170 called again without arguments later in the page.
2174 .Sx Block full-implicit
2175 semantics when invoked as the first macro on an input line in the
2177 section; otherwise, it uses ordinary
2182 .Bd -literal -offset indent
2191 of section 2, 3 and 9 manual pages, use the
2195 to mark up the name of the manual page.
2199 macro used to terminate prior macro contexts.
2202 .Dl \&.Sx \&Fl ab \&No cd \&Fl ef
2205 Following invocation, text is interpreted as free-form text until a
2206 macro is encountered.
2208 This has no effect when invoked at the start of a macro line.
2211 .Dl \&.Fl o \&Ns \&Ar output
2220 version provided as an argument, or a default value if
2221 no argument is provided.
2241 Multi-line version of
2245 .Bd -literal -offset indent -compact
2247 \&.Op Fl flag Ns Ar value
2251 Command-line option.
2252 Used when listing options to command-line utilities.
2253 Prints the argument(s) in brackets.
2256 .Dl \&.Op \&Fl a \&Ar b
2257 .Dl \&.Op \&Ar a | b
2262 Document operating system version.
2263 This is the mandatory third macro of
2267 Its syntax is as follows:
2269 .D1 Pf \. Sx \&Os Op Cm system Op Cm version
2273 parameter specifies the relevant operating system or environment.
2274 Left unspecified, it defaults to the local operating system version.
2275 This is the suggested form.
2279 .Dl \&.Os KTH/CSC/TCS
2290 this macro has been deprecated.
2294 version provided as an argument, or a default value
2295 if no argument is provided.
2312 If an argument is not provided, the string
2314 is used as a default.
2317 .Dl \&.Pa /usr/bin/mandoc
2318 .Dl \&.Pa /usr/share/man/man7/mdoc.7
2323 Close parenthesised context opened by
2328 between its arguments.
2329 Its syntax is as follows:
2331 .D1 Pf \. \&Pf Cm prefix suffix
2335 argument may be a macro.
2338 .Dl \&.Pf \e. \&Sx \&Pf \&Cm prefix suffix
2340 Multi-line version of
2344 This will assert vertical space between prior and subsequent macros
2347 Parenthesised enclosure.
2352 Close quoted context opened by
2355 Format a single-quoted literal.
2361 Multi-line version of
2364 Encloses its arguments in
2379 Does not have any tail arguments.
2381 Begin a bibliographic
2384 Does not have any head arguments.
2385 The block macro may only contain
2401 child macros (at least one must be specified).
2404 .Bd -literal -offset indent -compact
2406 \&.%A J. E. Hopcroft
2408 \&.%B Introduction to Automata Theory, Languages, and Computation
2409 \&.%I Addison-Wesley
2410 \&.%C Reading, Massachusettes
2417 block is used within a SEE ALSO section, a vertical space is asserted
2418 before the rendered output, else the block continues on the current
2421 Inserts text regarding a function call's return value.
2422 This macro must consist of the
2424 argument followed by an optional
2428 is not provided, the document's name as stipulated by the first
2435 Close single-quoted context opened by
2438 Begin a new section.
2439 For a list of conventional manual sections, see
2440 .Sx MANUAL STRUCTURE .
2441 These sections should be used unless it's absolutely necessary that
2442 custom sections be used.
2444 Section names should be unique so that they may be keyed by
2453 Switches the spacing mode for output generated from macros.
2454 Its syntax is as follows:
2456 .D1 Pf \. Sx \&Sm Cm on | off
2458 By default, spacing is
2462 no white space is inserted between macro arguments and between the
2463 output generated from adjacent macros, but free-form text lines
2464 still get normal spacing between words and sentences.
2466 Multi-line version of
2469 Encloses its arguments in
2479 Begin a new sub-section.
2482 there's no convention for sub-sections.
2483 Conventional sections, as described in
2484 .Sx MANUAL STRUCTURE ,
2485 rarely have sub-sections.
2487 Sub-section names should be unique so that they may be keyed by
2496 Replace an abbreviation for a standard with the full form.
2497 The following standards are recognised:
2499 .Bl -tag -width "-p1003.1g-2000X" -compact
2593 Reference a section or sub-section.
2594 The referenced section or sub-section name must be identical to the
2595 enclosed argument, including whitespace.
2598 .Dl \&.Sx MANUAL STRUCTURE
2605 Format enclosed arguments in symbolic
2607 Note that this is a presentation term and should not be used for
2608 stylistically decorating technical terms.
2622 .Dq currently under development .
2624 Format the UNIX name.
2625 Accepts no argument.
2644 .Dl \&.Va const char *bar ;
2647 This is also used for indicating global variables in the
2649 section, in which case a variable name is also specified.
2650 Note that it accepts
2651 .Sx Block partial-implicit
2652 syntax when invoked as the first macro in the
2654 section, else it accepts ordinary
2658 Note that this should not be confused with
2660 which is used for function return types.
2663 .Dl \&.Vt unsigned char
2664 .Dl \&.Vt extern const char * const sys_signame[] \&;
2667 .Sx MANUAL STRUCTURE
2671 Close a scope opened by
2674 Extend the header of an
2676 macro or the body of a partial-implicit block macro
2677 beyond the end of the input line.
2678 This macro originally existed to work around the 9-argument limit
2682 Link to another manual
2683 .Pq Qq cross-reference .
2684 Its syntax is as follows:
2686 .D1 Pf \. Sx \&Xr Cm name section
2692 are the name and section of the linked manual.
2695 is followed by non-punctuation, an
2697 is inserted into the token stream.
2698 This behaviour is for compatibility with
2703 .Dl \&.Xr mandoc 1 \&;
2704 .Dl \&.Xr mandoc 1 \&Ns s behaviour
2707 This macro should not be used; it is implemented for compatibility with
2712 in the event of natural paragraph breaks.
2714 Emits vertical space.
2715 This macro should not be used; it is implemented for compatibility with
2717 Its syntax is as follows:
2719 .D1 Pf \. Sx \&sp Op Cm height
2723 argument must be formatted as described in
2724 .Sx Scaling Widths .
2727 asserts a single vertical space.
2729 This section documents compatibility between mandoc and other other
2730 troff implementations, at this time limited to GNU troff
2734 refers to groff versions before 1.17,
2735 which featured a significant update of the
2739 Heirloom troff, the other significant troff implementation accepting
2740 \-mdoc, is similar to historic groff.
2742 The following problematic behaviour is found in groff:
2743 .ds hist (Historic groff only.)
2758 with unknown arguments produces no output at all.
2760 Newer groff and mandoc print
2765 does not recognize trailing punctuation characters when they immediately
2766 precede tabulator characters, but treats them as normal text and
2767 outputs a space before them.
2769 .Sx \&Bd Fl ragged compact
2770 does not start a new line.
2774 without an argument prints
2776 In mandoc, it resolves to the current date.
2779 does not print a dash for an empty argument.
2783 does not start a new line unless invoked as the line macro in the
2791 children causes inconsistent spacing between arguments.
2792 In mandoc, a single space is always inserted between arguments.
2797 causes inconsistent vertical spacing, depending on whether a prior
2804 for the normalised behaviour in mandoc.
2807 ignores additional arguments and is not treated specially in the
2812 sometimes requires a
2816 In new groff and mandoc, any list may be nested by default and
2818 lists will restart the sequence only for the sub-list.
2821 followed by a reserved character is incorrectly used in some manuals
2822 instead of properly quoting that character, which sometimes works with
2826 only accepts a single link-name argument; the remainder is misformatted.
2829 does not format its arguments when used in the FILES section under
2833 can only be called by other macros, but not at the beginning of a line.
2838 Historic groff only allows up to eight or nine arguments per macro input
2839 line, depending on the exact situation.
2840 Providing more arguments causes garbled output.
2841 The number of arguments on one input line is not limited with mandoc.
2843 Historic groff has many un-callable macros.
2844 Most of these (excluding some block-level macros) are callable
2845 in new groff and mandoc.
2848 (vertical bar) is not fully supported as a delimiter.
2855 .Pq font family face
2857 escapes behave irregularly when specified within line-macro scopes.
2859 Negative scaling units return to prior lines.
2860 Instead, mandoc truncates them to zero.
2863 The following features are unimplemented in mandoc:
2871 .Fl offset Ar center
2873 .Fl offset Ar right .
2874 Groff does not implement centered and flush-right rendering either,
2875 but produces large indentations.
2879 .Pq horizontal position ,
2881 .Pq vertical position ,
2885 .Pq text filling colour ,
2887 .Pq zero-length character ,
2891 .Pq horizontal position marker ,
2893 .Pq text overstrike ,
2897 escape sequences are all discarded in mandoc.
2901 scaling unit is accepted by mandoc, but rendered as the default unit.
2903 In quoted literals, groff allows pairwise double-quotes to produce a
2904 standalone double-quote in formatted output.
2905 This is not supported by mandoc.
2918 language first appeared as a troff macro package in
2920 It was later significantly updated by Werner Lemberg and Ruslan Ermilov
2922 The standalone implementation that is part of the
2924 utility written by Kristaps Dzonsons appeared in
2929 reference was written by
2930 .An Kristaps Dzonsons Aq kristaps@bsd.lv .