CVS: ispman/scripts reldiff,NONE,1.1
Atif Ghaffar <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv26893
Added Files:
reldiff
Log Message:
small utility that I use to check differences between versions
--- NEW FILE ---
#!/usr/bin/perl
my $PATH=$ENV{PWD};
#print "PATH: $PATH\n";
$head="HEAD";
$rel="1.0";
$old="0.9.7";
if ($PATH=~/1.0/){
$this=$rel;
} elsif ($PATH=~/HEAD/){
$this=$head;
} elsif ($PATH=~/0.9.7/){
$this=$old;
}
$PATH=~s/$this/${$ARGV[0]}/;
#print "PATH: $PATH\n";
system "diff -w -B -x CVS -u $ARGV[2] $ARGV[1] $PATH/$ARGV[1]";
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html