DELIMITER(MDOC) MDOC DELIMITER(MDOC)

NAME

escape/delimiterescaping delimiters in macro arguments

QUESTIONS

  1. [intermediate] Some programs, for example less(1), accept the question mark as a command line flag to display a brief help text. Write some mdoc(7) code to talk about this flag in the DESCRIPTION, for example:
    The -? option displays a summary of the commands.
  2. [advanced] Write a SYNOPSIS for the standard test(1) utility. This utility takes an expression as its argument. Do not try to express the expression syntax in the SYNOPSIS, just put the word expression there. The command name can be either test or a an opening square bracket. In the latter case, the final argument must be a closing square bracket.

HINTS

  1. See the “Delimiters” subsection in the mdoc(7) manual for help.
  2. The SYNOPSIS should consist of two lines.

SOLUTIONS

htmlmdoc
September 25, 2015 bsd.lv