Perl Script to compare between two baseline in UCM


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Perl Script to compare between two baseline in UCM
# 1  
Old 08-15-2010
Perl Script to compare between two baseline in UCM

Hello guys,

I have written a script which will differentiate between two baseline in UCM:
The two baseline is passed as an argument from command line.
Now i can see the output in a .txt file,where it will give you the ouput in this way.....


Code:
M:\srath_view\AIR\AIR_RATH.c@@\main\base2ucm_source\600_int\1
M:\srath_view\AIR\AIR_NEW.c@@\main\base2ucm_source\600_int\1


NOW I WANT ALL THE CHANGED FILE NAMES TO BE PUT IN A .CSV file with all the file name listed down.......

So Please anyone help to find out the difference between two ucm baseline in a .csv file
# 2  
Old 08-16-2010
why cant you use cleartool diffbl baseline1 baseline2?
# 3  
Old 08-16-2010
It is working....
But I want the output to display in a .csv file with the path of all the file names and whether it is changed or not in the new baseline.....

The output is not in a good shape while using this command.....
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Clearcase ucm baseline differences report in xls format

Hi All, Can any one help me to get the shell/perl scripts for the below requirements. 1: To get the clearcase checkin's information between two lables generate a formatted Xls output and to find the added changed and removed files and versions between the ClearCase baselines. 2... (2 Replies)
Discussion started by: saku
2 Replies

2. Shell Programming and Scripting

shell script for clearcase ucm

how to write shell script to get the checkin information between two composite baselines in clearcase ucm . (0 Replies)
Discussion started by: saku
0 Replies

3. Shell Programming and Scripting

Need Perl script to compare two CSV files

Need perl script to compare the two CSV files and and give out put in CSV format File MsPMTP.csv File ProfileNames.csv MsPMTP.csv is having lines like below JBL_VIJ_A_A962/r01sr4sl12/port#01-#13-Au4P-4c-TMi-PMNETR15 JBL_VIJ_A_A962/r01sr4sl12/port#01-#13-Au4P-4c-TMi-PMFETR15... (9 Replies)
Discussion started by: sreedhargouda
9 Replies

4. Shell Programming and Scripting

Perl script to compare two files

hi, As such I am new to perl on google search I found a code for Perl script to compare two files and print differences between them and instead of prinintg I want to store the diff. in a outputfile so can sombody provide assistance upon this from where can I edit in script to store the diff in... (1 Reply)
Discussion started by: dinesh.4126
1 Replies

5. Shell Programming and Scripting

Use Perl In Bash Script To Compare Floationg Points

Is there a way to compare two floating points numbers in a bash script using perl? I've tried just using a bash if statement and it doesn't seem to support floating point numbers. Can the perl line read vars from bash then output a var to bash? a=1.1 #from bash b=1.5 #from bash if... (3 Replies)
Discussion started by: Grizzly
3 Replies

6. Shell Programming and Scripting

compare 2 coloum of 2 diff files using perl script

Hi, i am new to perl scripting.. i am still learing it.. i am asked to write a perl script which should compare 2 coloums of 2 different files. if those 2 coloumn are same the script should store the both the lines in 2 diff files. these are files, file 1: 21767016 226112 char 19136520... (3 Replies)
Discussion started by: vasuki
3 Replies
Login or Register to Ask a Question