Hi Robert,
You can call the "ct diff" command in a perl script.
In this script you can use regular expression to get only the
"Added", "Changed" Or "Deleted" lines from any 2 versions of the
file.
You can use the UNIX-style reporting format for which you can make
use
of the regular expressions in your perl script. The 2 versions of
the
file can be passed as arguments to the perl script.
Hope this helps!
Regards,
Ramesh Chandra
-----Original Message-----
From: BOULOS Robert [mailto:Boulos.Robert@tms-pty.com
Sent: Tuesday, July 24, 2001 6:40 AM
To: cciug@rational.com
Subject: [cciug] Collecting Metrics
Hello all
Can anyone tell me of a way to find out the number of lines inserted,
deleted
and modified by using some clearcase diff command on a checked in file.
All I need is just the numbers.
Thanks
Robert Boulos
Thomson Marconi Sonar
Australia.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 22:04:00 EDT