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 : be...@petrovitsch.priv.at
     There is NO CLOUD, just other people's computers. - FSFE
                     LUGA : http://www.luga.at

Reply via email to