mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
6297a0e23f
page of -mdoc manual pages in troff mode. The problem has been introduced in rev 1.12; apparently ending a line inside a macro definition with \c doesn't behave as Bill expected, and troff was fooled to believe previous output was already pending thus a new page needed to be emitted. Using a troff comment .\" instead of \c seems to solve this, alas the brain^Wnice sed(1) magic needs to be taught to _not_ strip those comments now. I think -stable is not affected by this.
5 lines
80 B
Sed
5 lines
80 B
Sed
# $FreeBSD$
|
|
/%beginstrip%/,$s/[ ]*\\".*//
|
|
/^\.$/d
|
|
/%comment%/s/%comment%/.\\"/
|