Print this page
9718 update mandoc to 1.14.4

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man5/mdoc.5.man.txt
          +++ new/usr/src/man/man5/mdoc.5.man.txt
↓ open down ↓ 595 lines elided ↑ open up ↑
 596  596       modes ends at the beginning of the AUTHORS section.  In the AUTHORS
 597  597       section, the default is -nosplit for the first author listing and -split
 598  598       for all other author listings.
 599  599  
 600  600       Examples:
 601  601             .An -nosplit
 602  602             .An Kristaps Dzonsons Aq Mt kristaps@bsd.lv
 603  603  
 604  604     Ao
 605  605       Begin a block enclosed by angle brackets.  Does not have any head
 606      -     arguments.
      606 +     arguments.  This macro is almost never useful.  See Aq for more details.
 607  607  
 608      -     Examples:
 609      -           .Fl -key= Ns Ao Ar val Ac
 610      -
 611      -     See also Aq.
 612      -
 613  608     Ap
 614  609       Inserts an apostrophe without any surrounding whitespace.  This is
 615  610       generally used as a grammatical device when referring to the verb form of
 616  611       a function.
 617  612  
 618  613       Examples:
 619  614             .Fn execve Ap d
 620  615  
 621  616     Aq
 622      -     Encloses its arguments in angle brackets.
      617 +     Encloses its arguments in angle brackets.  The only important use case is
      618 +     for email addresses.  See Mt for an example.
 623  619  
 624      -     Examples:
 625      -           .Fl -key= Ns Aq Ar val
      620 +     Occasionally, it is used for names of characters and keys, for example:
 626  621  
 627      -     Remarks: this macro is often abused for rendering URIs, which should
 628      -     instead use Lk or Mt, or to note pre-processor "#include" statements,
 629      -     which should use In.
      622 +           Press the
      623 +           .Aq escape
      624 +           key to ...
 630  625  
      626 +     For URIs, use Lk instead, and In for "#include" directives.  Never wrap
      627 +     Ar in Aq.
      628 +
      629 +     Since Aq usually renders with non-ASCII characters in non-ASCII output
      630 +     modes, do not use it where the ASCII characters `<' and `>' are required
      631 +     as syntax elements.  Instead, use these characters directly in such
      632 +     cases, combining them with the macros Pf, Ns, or Eo as needed.
      633 +
 631  634       See also Ao.
 632  635  
 633  636     Ar
 634  637       Command arguments.  If an argument is not provided, the string "file ..."
 635  638       is used as a default.
 636  639  
 637  640       Examples:
 638  641             .Fl o Ar file
 639  642             .Ar
 640  643             .Ar arg1 , arg2 .
↓ open down ↓ 298 lines elided ↑ open up ↑
 939  942  
 940  943     Dc
 941  944       Close a Do block.  Does not have any tail arguments.
 942  945  
 943  946     Dd
 944  947       Document date for display in the page footer.  This is the mandatory
 945  948       first macro of any mdoc manual.  Its syntax is as follows:
 946  949  
 947  950             .Dd month day, year
 948  951  
 949      -     The month is the full English month name, the day is an optionally zero-
 950      -     padded numeral, and the year is the full four-digit year.
      952 +     The month is the full English month name, the day is an integer number,
      953 +     and the year is the full four-digit year.
 951  954  
 952  955       Other arguments are not portable; the mandoc(1) utility handles them as
 953  956       follows:
 954  957          -   To have the date automatically filled in by the OpenBSD version of
 955  958              cvs(1), the special string "$Mdocdate$" can be given as an
 956  959              argument.
 957  960          -   The traditional, purely numeric man(5) format year-month-day is
 958  961              accepted, too.
 959  962          -   If a date string cannot be parsed, it is used verbatim.
 960  963          -   If no date string is given, the current date is used.
 961  964  
 962  965       Examples:
 963  966             .Dd $Mdocdate$
 964      -           .Dd $Mdocdate: July 21 2007$
 965      -           .Dd July 21, 2007
      967 +           .Dd $Mdocdate: July 2 2018$
      968 +           .Dd July 2, 2018
 966  969  
 967  970       See also Dt and Os.
 968  971  
 969  972     Dl
 970  973       One-line indented display.  This is formatted as literal text and is
 971  974       useful for commands and invocations.  It is followed by a newline.
 972  975  
 973  976       Examples:
 974  977             .Dl % mandoc mdoc.5 \(ba less
 975  978  
↓ open down ↓ 1270 lines elided ↑ open up ↑
2246 2249  
2247 2250  HISTORY
2248 2251       The mdoc language first appeared as a troff macro package in 4.4BSD.  It
2249 2252       was later significantly updated by Werner Lemberg and Ruslan Ermilov in
2250 2253       groff-1.17.  The standalone implementation that is part of the mandoc(1)
2251 2254       utility written by Kristaps Dzonsons appeared in OpenBSD 4.6.
2252 2255  
2253 2256  AUTHORS
2254 2257       The mdoc reference was written by Kristaps Dzonsons <kristaps@bsd.lv>.
2255 2258  
2256      -illumos                          July 20, 2017                         illumos
     2259 +illumos                          July 28, 2018                         illumos
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX