Re: Printing rlog message upto a label
From: Ed Morton (morton_at_lsupcaemnt.com)
Date: 04/22/04
- Next message: dompie: "WU-FTP user with no home dir Question"
- Previous message: Lew Pitcher: "Re: current GNU grep binary for Win/DOS?"
- In reply to: Stu: "Printing rlog message upto a label"
- Next in thread: Stu: "Re: Printing rlog message upto a label"
- Reply: Stu: "Re: Printing rlog message upto a label"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 21 Apr 2004 23:58:01 -0500
Stu wrote:
> I have the following rlog information (see below). Is there an rlog
> command I can use that can print me the changes to a file upto the
> last label that was issued.
>
> For example, I dropped the labe1 "AXO_1" on revision 1.2. Now I want
> to see all the changes to the file (1.3) excluding (1.2 and lower).
> Basically I want DONT want to print the messages associated with the
> label or lower.
>
> Any help would be appreciated.
>
> RCS file: /export/home/pbh/scripts/checkin/edit/RCS/t1,v
> Working file: t1
> head: 1.3
> branch:
> locks: strict
> access list:
> symbolic names:
> AXO_1: 1.2
> keyword substitution: kv
> total revisions: 3; selected revisions: 3
> description:
> version 1.1
> ----------------------------
> revision 1.3
> date: 2004/04/19 16:37:27; author: pbh; state: Exp; lines: +4 -0
> Test one two three
> ----------------------------
> revision 1.2
> date: 2004/04/19 16:33:26; author: pbh; state: Exp; lines: +5 -1
> version 2
> ----------------------------
> revision 1.1
> date: 2004/04/19 16:26:04; author: pbh; state: Exp;
> Initial revision
> =============================================================================
I'm not entirely sure what you're asking for, but if you just want to
get rid of everything after "revision 1.2", this'll do it in awk:
awk '/^revision 1.2$/{exit}{print}' filename
If you're looking for something else, maybe posting a sample output
would help.
Ed.
- Next message: dompie: "WU-FTP user with no home dir Question"
- Previous message: Lew Pitcher: "Re: current GNU grep binary for Win/DOS?"
- In reply to: Stu: "Printing rlog message upto a label"
- Next in thread: Stu: "Re: Printing rlog message upto a label"
- Reply: Stu: "Re: Printing rlog message upto a label"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|