Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Sep 1999 16:26:29 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Alexey Zelkin <phantom@cris.net>
Cc:        FreeBSD Documentation Team <freebsd-doc@FreeBSD.org>
Subject:   Re: $Date$ at www pages 
Message-ID:  <19990907082629.71A581CA9@overcee.netplex.com.au>
In-Reply-To: Your message of "Tue, 07 Sep 1999 00:31:44 %2B0400." <19990907003144.A262@scorpion.crimea.ua> 

next in thread | previous in thread | raw e-mail | index | archive | help
Alexey Zelkin wrote:
> hi,
> 
> As for me $Date$ tag on web pages was very useful, but with $Date$,$Id$->
> $FreeBSD$ change it lost real meaning (just to show last modification time).
> I sure that it would be better to insert $FreeBSD$ somethere in body
> of the page (as comment) and revert current $FreeBSD$ tags back to $Date$.

$Date$ won't be expanded though (and hasn't been for a while)..  Is it
possible to post-process the generated .html or something and do something
like s/\$FreeBSD: .* .* (.* .*) .* .* \$/Last modified: \1 UTC/ ?

So then:
$FreeBSD: CVSROOT/modules,v 1.360 1999/09/07 06:05:16 taoka Exp $
would become:
Last modified: 1999/09/07 06:05:16 UTC

If the web build scripts can do this without too much trouble then that should
solve the problem fairly well and give an even better result than:
$Date: 1999/09/07 06:05:16 $

Cheers,
-Peter



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990907082629.71A581CA9>