version 1.57, 2009/08/20 12:08:40 |
version 1.59, 2009/08/20 13:32:09 |
|
|
whether in a macro or free-form text line, is ignored to the end of |
whether in a macro or free-form text line, is ignored to the end of |
line. A macro line with only a control character and comment escape, |
line. A macro line with only a control character and comment escape, |
.Sq \&.\e" , |
.Sq \&.\e" , |
is also ignored. |
is also ignored. Macro lines with only a control charater and optionally |
|
whitespace are stripped from input. |
. |
. |
. |
. |
.Ss Reserved Characters |
.Ss Reserved Characters |
|
|
\&.Dd $\&Mdocdate$ |
\&.Dd $\&Mdocdate$ |
\&.Dt mdoc 7 |
\&.Dt mdoc 7 |
\&.Os |
\&.Os |
|
\&. |
\&.Sh NAME |
\&.Sh NAME |
\&.Nm mdoc |
\&.Nm foo |
\&.Nd mdoc language reference |
\&.Nd a description goes here |
|
\&.\e\*q The next is for sections 2 & 3 only. |
|
\&.\e\*q .Sh LIBRARY |
|
\&. |
|
\&.Sh SYNOPSIS |
|
\&.Nm foo |
|
\&.Op Fl options |
|
\&.Ar |
|
\&. |
|
\&.Sh DESCRIPTION |
|
The |
|
\&.Nm |
|
utility processes files ... |
|
\&.\e\*q .Sh IMPLEMENTATION NOTES |
|
\&.\e\*q The next is for sections 1 & 8 only. |
|
\&.\e\*q .Sh EXIT STATUS |
|
\&.\e\*q The next is for sections 2, 3, & 9 only. |
|
\&.\e\*q .Sh RETURN VALUES |
|
\&.\e\*q The next is for sections 1, 6, 7, & 8 only. |
|
\&.\e\*q .Sh ENVIRONMENT |
|
\&.\e\*q .Sh FILES |
|
\&.\e\*q .Sh EXAMPLES |
|
\&.\e\*q The next is for sections 1, 4, 6, 7, & 8 only. |
|
\&.\e\*q .Sh DIAGNOSTICS |
|
\&.\e\*q The next is for sections 2, 3, & 9 only. |
|
\&.\e\*q .Sh ERRORS |
|
\&.\e\*q .Sh SEE ALSO |
|
\&.\e\*q .Xr foobar 1 |
|
\&.\e\*q .Sh STANDARDS |
|
\&.\e\*q .Sh HISTORY |
|
\&.\e\*q .Sh AUTHORS |
|
\&.\e\*q .Sh CAVEATS |
|
\&.\e\*q .Sh BUGS |
|
\&.\e\*q .Sh SECURITY CONSIDERATIONS |
.Ed |
.Ed |
. |
. |
.Pp |
.Pp |
Line 453 then the macro accepts an arbitrary number of argument |
|
Line 488 then the macro accepts an arbitrary number of argument |
|
.It \&Er Ta Yes Ta Yes Ta >0 |
.It \&Er Ta Yes Ta Yes Ta >0 |
.It \&Es Ta \&No Ta \&No Ta 0 |
.It \&Es Ta \&No Ta \&No Ta 0 |
.It \&Ev Ta Yes Ta Yes Ta n |
.It \&Ev Ta Yes Ta Yes Ta n |
.It \&Ex Ta \&No Ta \&No Ta 0 |
.It \&Ex Ta \&No Ta \&No Ta n |
.It \&Fa Ta Yes Ta Yes Ta n |
.It \&Fa Ta Yes Ta Yes Ta n |
.It \&Fd Ta \&No Ta \&No Ta >0 |
.It \&Fd Ta \&No Ta \&No Ta >0 |
.It \&Fl Ta Yes Ta Yes Ta n |
.It \&Fl Ta Yes Ta Yes Ta n |
Line 480 then the macro accepts an arbitrary number of argument |
|
Line 515 then the macro accepts an arbitrary number of argument |
|
.It \&Pa Ta Yes Ta Yes Ta n |
.It \&Pa Ta Yes Ta Yes Ta n |
.It \&Pf Ta \&No Ta Yes Ta 1 |
.It \&Pf Ta \&No Ta Yes Ta 1 |
.It \&Pp Ta \&No Ta \&No Ta 0 |
.It \&Pp Ta \&No Ta \&No Ta 0 |
.It \&Rv Ta \&No Ta \&No Ta 0 |
.It \&Rv Ta \&No Ta \&No Ta n |
.It \&Sm Ta \&No Ta \&No Ta 1 |
.It \&Sm Ta \&No Ta \&No Ta 1 |
.It \&St Ta \&No Ta Yes Ta 1 |
.It \&St Ta \&No Ta Yes Ta 1 |
.It \&Sx Ta Yes Ta Yes Ta >0 |
.It \&Sx Ta Yes Ta Yes Ta >0 |