escape/delimiter
—
escaping delimiters in macro arguments
- [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.
- [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.
- See the “Delimiters” subsection in the
mdoc(7)
manual for help.
- The SYNOPSIS should consist of two lines.
html —
mdoc