Proper translation of POD commands and formatting codes into mdoc
macros, including correct whitespace handling. Only capital ASCII
letters A-Z can start a formatting code. Do not skip the content
of invalid formatting codes. Improved handling of filename
extensions.
Render B<NULL> as .Dv NULL.
Correctly check the number of arguments.
Show the usage() message if there are too many arguments.
Mention the optional "file" argument in the usage() message.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
Properly render #include in the SYNOPSIS with In.
Handle nested escape codes in L<> links (and ignore them).
Properly consume whitespace following <code>X<></code> and <code>N<></code>.
The pod2mdoc utility is a converter from POD into mdoc. It's meant
to operate like pod2man; however, it doesn't require a Perl
installation: pod2mdoc is a standalone ISC-licensed ISO C utility
and should compile on any modern UNIX system.