groff
[Top][All Lists]
Advanced

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

Re: .so colophon.man


From: Alejandro Colomar
Subject: Re: .so colophon.man
Date: Tue, 2 Aug 2022 12:29:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.0

Hi Bernd,

On 8/2/22 12:24, Bernd Petrovitsch wrote:
Hi all!

On 31/07/2022 14:38, Alejandro Colomar (man-pages) wrote:
[...]
I think I'll remove the COLOPHON.  One less problem.

Or add another preprocessing step which resolves another type
of include for such cases.

Idk if resolving the /^\.so / with a simple perl/whatever script
seems useful sensible or kills some other feature.

Kind regards,
     Bernd

Actually, I'm appending the COLOPHON right now in a very simple way (no need for perl(1) if sh(1) can do it):


find man?/ -not -type d \
|xargs sed -i "\$a \\
.SH COLOPHON\\
This page is part of release\\
$(git describe | sed 's/^man-pages-//')\\
of the Linux\\
.I man-pages\\
project.\\
A description of the project,\\
information about reporting bugs,\\
and the latest version of this page,\\
can be found at\\
.UR https://www.kernel.org/doc/man-pages/\\
.UE .
"

Oh, and I just realized that I'm also appending it to link pages. I should fix that!


I'm still not convinced about what to do with the COLOPHON, so I'll leave the script around for now. But it may happen that I simply drop it in the future.

Cheers,

Alex

--
Alejandro Colomar
<http://www.alejandro-colomar.es/>

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]