> i was playing with man pages and found by chance that empty lines
> before .TH seems to confuse groff.

`Confuse'?  I don't think so.

> <code>
> ./"
>
> ./"
>
> ./"
> .TH The header
>
> ....
> </code>
>
> works fine (no warnings what so ever) but has am empty page in front
> and changes in page numbering are ignored.
>
> <code>
> ./"
> ./"
> ./"
> .TH The header
>
> ....
> </code>
>
> But this produces the desired output.  Is is possible to have a
> warning, when accidentally empty lines in front are found?

It's probably not worth the time to fix this.  Note that you can
concatenate various man pages – in both man and mdoc formats, IIRC;
.TH then needs to start a new page.  The result you are seeing is a
side effect of this.


    Werner

Reply via email to