I've spent most of the day making what are basically some housekeeping changes to the codebase of one of our projects (replacing all System.out.println()
calls with log4j).
I'm kind of curious how many lines of code I've updated with this set of changes.
Is there anyway with cvs diff
or another command to get an accurate count of how many lines have changed?
I've tried
cvs diff -b -B -R
to get all of the changes in the working directory (and recursively the subdirectories), but for each file changed it also prints out file/version information, which makes just counting the lines of output useless.
Any ideas?