Re: .so colophon.man

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

 



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


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux