Re: .TH 4th field (Was: [PATCH 1/2] system_data_types.7: srcfix)

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

 



Hi Branden,

On 8/20/22 14:40, Alejandro Colomar wrote:
Hi Branden,

On 8/20/22 14:20, G. Branden Robinson wrote:
[...]
I would add " (in preparation)" to the string, and have the script that
finalizes a release strip that out.

I'll use "Linux man-pages (unreleased)" for the repo pages, just to be more similar to Debian's changelog format.  I don't like inventing stuff if I don't need to.  Does it make sense to you?

Having a fixed string there will be good, since that way I won't disturb the script updating the last-modified date.

I think this will be the definitive commit:


All pages: Replace the 4th argument to .TH by "Linux man-pages <version>"

    Scripted change:

    $ find man* -type f \
|xargs sed -Ei '/^.TH /s/(.TH +[^ ]+ +[^ ]+ +[^ ]+) +"[^"]*"/\1 "Linux man-pages (unreleased)"/'

    $ find man* -type f \
|xargs sed -Ei '/^.TH /s/(.TH +[^ ]+ +[^ ]+ +[^ ]+) +[^" ]+/\1 "Linux man-pages (unreleased)"/'

    $ git restore man5/tzfile.5
    $ git restore man8/zdump.8
    $ git restore man8/zic.8
    $ git restore man7/bpf-helpers.7

    Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>


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