"SUBRAMANIAN, SARAVANAN (SBCSI)" wrote:
> 
> Hi All
> 
> I need to find out how many are files are added, modified and deleted
> from one version tag to another tag.
> Please help me out.
> 
> Thanks
> SARAVANAN SUBRMANIAN
> SCM
> Centrex Mate

In the future, Please chop out any digest matterial that is not related to
the new question.

Try the following script.

echo -n "new files";
cvs diff -N --brief -rTAG1 -rTAG2 2>/dev/null| \
grep differ|grep "s \/dev\/null"|wc -l;
echo -n "removed files ";
cvs diff -N --brief -rTAG1 -rTAG2 2>/dev/null| \
grep differ|grep "d \/dev\/null"|wc -l;
echo  -n "changed files"; 
cvs diff -N --brief -rTAG1 -rTAG2 2>/dev/null| \
grep differ|grep -v "\/dev\/null"|wc -l

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter


_______________________________________________
Info-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-cvs

Reply via email to