http://www.perlmonks.org?node_id=750651


in reply to SLOC script to report Number of lines Added, deleted & modified

NAME diffstat - make histogram from diff-output USAGE diffstat [options] [file-specifications] SYNOPSIS This program reads the output of diff and displays a histogra +m of the insertions, deletions, and modifications per-file. DESCRIPTION Diffstat is a program that is useful for reviewing large, compl +ex patch files. It reads from one or more input files which contain out +put from diff, producing a histogram of the total lines changed for ea +ch file referenced. If the input filename ends with .bz2, .Z or .gz, +diffstat will read the uncompressed data via a pipe.

www.jasonkohles.com
We're not surrounded, we're in a target-rich environment!