Re: [pcre-dev] [Bug 1218] New: pcre manpages are missing "La…

Startseite
Nachricht löschen
Autor: Philip Hazel
Datum:  
To: 1218
CC: pcre-dev
Betreff: Re: [pcre-dev] [Bug 1218] New: pcre manpages are missing "Last change:" date
On Wed, 14 Mar 2012, April Chin wrote:

> For example, the pcre-config(1) manpage (in pcre 8.30) has this section
>
> REVISION
>
>      Last updated: 01 January 2012

>
> but its footer has an empty Last change date (manpage for pcre installed
> on Solaris 11, aka SunOS 5.11):
>
> SunOS 5.11                Last change:                          2


Is that a SunOS thing? On Gentoo Linux the footer contains just
PCRE-CONFIG(1) at the right hand side.

> The revision date should be added to the .TH line, which currently looks like:
>
> .TH PCRE-CONFIG 1
>
> along with perhaps the string "PCRE <version #>":
>
> .TH PCRE-CONFIG 1 "01 January 2012" "PCRE 8.30"
>
> so the page footers would then list the last change date and pcre version:
>
> PCRE 8.30         Last change: 01 January 2012                  2


I will experiment on Linux and see if that works or breaks things or
whatever.

> It would also be nice to add "Last change" dates in the other manpages
> which do not have revision dates listed (e.g., pcre_compile.3, pcre_exec.3,
> pcre_version.3, etc.)


I guess I never got round to adding revision dates to those, probably
because they hardly ever change.

Philip

--
Philip Hazel