[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] empty line before .TH in man page produces sometimes an empty pa
From: |
Bernd Warken |
Subject: |
[Groff] empty line before .TH in man page produces sometimes an empty page |
Date: |
Sun, 01 Oct 2006 17:53:12 +0200 |
Consider the followin short man page:
$ cat manpage.1
\" comment
.TH MANPAGE 1 "2006 Oct 1" "manpage"
.SH NAME
manpage \- test man page
This has a bug: the first line (with the comment) should start with a dot.
For example, the man page bash.1 has this bug.
Without the dot, this line produces an empty space in the output. In text
or html output, this space is a single empty line, ok.
But in ps or dvi output, a whole empty page is created. I consider this a
bug in ps and dvi mode.
If you write some text before the .TH request this text is written in a
single line even in ps or dvi output. But as soon as you add a line that is
empty or has only spaces or a comment a whole empty page is created
in ps or dvi mode.
Bernd Warken
_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
- [Groff] empty line before .TH in man page produces sometimes an empty page,
Bernd Warken <=