App-cloc
view release on metacpan or search on metacpan
cloc --diff Python-2.6.6.tar.bz Python-2.7.tar.bz2
To see how cloc aligns files for comparison between two code
bases, use the B<--diff-alignment=FILE> option. Here the
alignment information is written to C<align.txt>:
cloc --diff-aligment=align.txt gcc-4.4.0.tar.bz2 gcc-4.5.0.tar.bz2
Count file, code, and comment changes between two git commits:
cloc --git --diff b409850824 HEAD
Print the recognized languages:
cloc --show-lang
Remove comments from C<foo.c> and save the result in C<foo.c.nc>
("nc" is an arbitrary extension; used here to denote "no comments"):
cloc --strip-comments=nc foo.c
( run in 1.844 second using v1.01-cache-2.11-cpan-88abd93f124 )