RCS - Find difference between 2 different versions of a file


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users RCS - Find difference between 2 different versions of a file
# 1  
Old 05-20-2008
MySQL 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
# 2  
Old 05-20-2008
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

awk code to find difference in second file which is not present in first file .

Hi All, I want to find difference between two files and output only lines which are not present in second file .I am using awk and I am getting only the first difference but I want to get all the lines which are not present in file2 .Below is the code I am using . Please help to get the desired... (7 Replies)
Discussion started by: srinivasrao
7 Replies

2. UNIX for Beginners Questions & Answers

UNIX utility to find difference in folder, file and contents of file against a base version

Hi, I am trying to find out whether there are any Unix utilities that compares folders, files and contents within the file and provides a comprehensive report. The comparison can be against base version of a folder and file with content. Can you please let me know of such a utility? Thanks,... (6 Replies)
Discussion started by: Sripathi_ks
6 Replies

3. UNIX for Dummies Questions & Answers

Find the timestamp difference between two different colums in a file

Sample Input File 2014/10/09 CDE876172588765 00:09:45 00:10:10 200 200 11.7093 2014/10/09 CDE366134588757 01:04:34 01:04:54 210 210 9.8898 2014/10/09 CDE765172345745 03:05:46 03:06:01 100 100 10.0601 2014/10/09 ... (8 Replies)
Discussion started by: rpm120
8 Replies

4. Shell Programming and Scripting

Find time difference between two consecutive lines in same file.

Hello I have a file in following format: IV 08:09:07 NM 08:12:01 IC 08:12:00 MN 08:14:20 NM 08:14:15 I need a script to compare time on each line with previous line and show the inconsecutive line. Ex.: 08:12:00 08:14:15 A better way... (6 Replies)
Discussion started by: vilibit
6 Replies

5. SCO

Difference between OpenServer versions

What is the difference between SCO openServer 5.0.6 and 5.0.6j version? Thanks to all. Vincenzo. (3 Replies)
Discussion started by: kampus
3 Replies

6. UNIX for Dummies Questions & Answers

RCS register a file without the prompt

Hi there, I'm very new to UNIX. I'm writing a script (tcsh / Solaris) in which a file is created and then it needs to be registered using RCS. The problem is that on running the command "ci -u myfile" I keep getting prompted to "enter description, terminated with single '.' or end of file:" ... (1 Reply)
Discussion started by: js8765
1 Replies

7. Shell Programming and Scripting

Find file size difference in two files using awk

Hi, Could anyone help me to solve this problem? I have two files "f1" and "f2" having 2 fields in each, a) file size and b) file name. The data are almost same in both the files except for few and new additional lines. Now, I have to find out and print the output as, the difference in the... (3 Replies)
Discussion started by: royalibrahim
3 Replies

8. Shell Programming and Scripting

find difference in file column...

Hi All, i have a file that is tab delimited. i need help to find the rows which are having same price based on the site code but some times, there are difference so i need to find only the records which are different in all site code. Dept Sec Barcode 10001 10002 10003 10004... (1 Reply)
Discussion started by: malcomex999
1 Replies

9. Shell Programming and Scripting

Shell versions affecting find?

Hi all, I just spent 30hours writing a script (my first) that makes extensive use of the find command on my mac os x terminal and which was meant to be run as a cron job on my server. The script is an automated backup system for a bunch of source control repositories. On the mac it works... (6 Replies)
Discussion started by: cpower
6 Replies

10. Shell Programming and Scripting

To find the time difference between two lines of the same log file

Hello Friends, I want to write a script for the following: nlscux62:tibprod> grep "2008 Apr 30 01:" SA_EHV_SPEED_SFC_IN_03-SA_EHV_SPEED_SFC_IN_03-2.log | grep -i post | more 2008 Apr 30 01:01:23:928 GMT +2 SAPAdapter.SA_EHV_SPEED_SFC_IN_03-SA_EHV_SPEED_SFC_IN_03-2 Info AER3-000095 IDOC... (2 Replies)
Discussion started by: satyakam
2 Replies
Login or Register to Ask a Question