groff
[Top][All Lists]
Advanced

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

Re: .so colophon.man


From: Bernd Petrovitsch
Subject: Re: .so colophon.man
Date: Sat, 6 Aug 2022 14:00:28 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

Hi all!

On 02/08/2022 12:29, Alejandro Colomar wrote:
[...]
Actually, I'm appending the COLOPHON right now in a very simple way (no need for perl(1) if sh(1) can do it):

Cool - but actually sed does 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!

:-)

Kind regards,
        Bernd
--
Bernd Petrovitsch                  Email : bernd@petrovitsch.priv.at
     There is NO CLOUD, just other people's computers. - FSFE
                     LUGA : http://www.luga.at



reply via email to

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