Skip to main content

Create a histogram from the output of the diff command.

# To display changes in a histogram:
diff file1 file2 | diffstat

# To display inserted, deleted and modified changes as a table:
diff file1 file2 | diffstat -t