tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mksh manpage

On Fri, Oct 19, 2012 at 03:55:11PM +0000, Thorsten Glaser wrote:
> >I would call a man page that redefines .Dd just broken. There is no
> >point in it. Depending on Mdocdate is just a bug, not a feature.
> You don’t get the point, at all. The issue at hand is not defining
> the Dd macro but that the manual page uses roff instructions, not
> just for that. There are string definitions, if-else blocks and other
> somewhat dynamic content. (In the case of paxmirabilis, even more:
> the .Nm changes depending on a set register.) This is fully valid,
> it’s just a corner case not handled in mdocml, which is also fully
> valid.

No, you are just ignorant. mdocml does interprete roff. It expands
string definitions, if-else blocks etc. What it does not allow is
arbitrary changes to the semantic macros. Depending on the *internal*
implementation of the macros is broken. There is no justification for
doing it.


Home | Main Index | Thread Index | Old Index