DIFFSTATSection: User Commands (1)
Return to Main Contents
NAMEdiffstat - make histogram from diff-output
USAGEdiffstat [options] [file-specifications]
SYNOPSISThis program reads the output of diff and displays a histogram of the insertions, deletions, and modifications per-file.
DESCRIPTIONDiffstat is a program that is useful for reviewing large, complex patch files. It reads from one or more input files which contain output from diff, producing a histogram of the total lines changed for each file referenced. If the input filename ends with .Z or .gz, diffstat will read the uncompressed data via a pipe.
Diffstat recognizes the most popular types of output from diff:
Diffstat detects the lines that are output by diff to tell which files are compared, and then counts the markers in the first column that denote the type of change (insertion, deletion or modification). These are shown in the histogram as "+", "-" and "!" characters.
Diffstat makes a lot of assumptions about the format of a diff file.
Thomas Dickey (firstname.lastname@example.org).
This document was created by man2html, using the manual pages.
Time: 18:26:52 GMT, December 08, 2021