help-rcs
[Top][All Lists]
Advanced

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

Re: RCS Keyword Expansion format for dates


From: Aaron S. Hawley
Subject: Re: RCS Keyword Expansion format for dates
Date: Mon, 21 Feb 2011 09:06:16 -0500

I presume you mean the $Id$ keyword, not $Revision$.

I believe you could use the -z option to change the timezone and then
hopefully the date format.  You can specify the -z option for all RCS
operations by using the RCSINIT

Coincidentally, the date format you want is what I see by default.

# cat foo
$Id: foo,v 1.1 2011/02/21 14:03:57 ahawley Exp $
# export RCSINIT=-zLT
# co foo
foo,v  -->  foo
revision 1.1
done
# cat foo
$Id: foo,v 1.1 2011-02-21 09:03:57-05 ahawley Exp $


On Thu, Feb 17, 2011 at 2:32 PM, Amit Uttamchandani
<address@hidden> wrote:
> When RCS expands the $Revision$ keyword I get the following output:
>
> Revision 1.2  2010-03-01 22:13:03  john
>
> However, I would like the following:
>
> Revision 1.2  2010/03/01 22:13:03  john
>
> Notice the "/" instead of "-" in delimiting the dates. Is it possible to 
> change
> this?
>
> Thanks,
> Amit
>
>
>



-- 
In general, we reserve the right to have a poor
memory--the computer, however, is supposed to
remember!  Poor computer.  -- Guy Lewis Steele Jr.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]