The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
To find the time difference between two lines of the same log file satyakam Shell Programming and Scripting 2 04-30-2008 07:46 AM
Command to find how many disk arrays and versions Mohammed Shell Programming and Scripting 1 02-08-2007 01:10 AM
File Versions (GDG) Bizcut UNIX for Dummies Questions & Answers 0 07-27-2005 06:50 AM
Difference between locate and find camerja1 UNIX for Dummies Questions & Answers 1 06-25-2002 10:55 AM
different versions of the same file. deeptia Shell Programming and Scripting 2 03-26-2002 07:25 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-20-2008
Registered User
 

Join Date: May 2008
Posts: 3
Stumble this Post!
Thumbs up RCS - Find difference between 2 different versions of a file

Hi,

I have a c file in my repository. We are using RCS(Revision Control System) to control and manage the versions. I need to find

1. Difference between the current version with a different version

2. Difference between any two different versions of a file. Ex Difference between 1.14 and 1.15

Thanks in Advance

Elangovan K
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-20-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
Stumble this Post!
Code:
rcsdiff -r1.14 -r1.15 -u file
Leave out the second revision number to compare against your current checked-out version. Leave out both to check your current version against the latest commit. Leave out the -u if you really don't want diff -u output.

Tell your manager it's silly to ask you to use a tool without offering even basic training for its use.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:24 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0