diffstat

Create a histogram from the output of the diff command. More information: <https://manned.org/diffstat>.

Install

All systems
curl cmd.cat/diffstat.sh
Debian Debian
apt-get install diffstat
Ubuntu
apt-get install diffstat
Arch Arch Linux
pacman -S diffstat
image/svg+xml Kali Linux
apt-get install diffstat
CentOS
yum install diffstat
Fedora
dnf install diffstat
Windows (WSL2)
sudo apt-get update sudo apt-get install diffstat
OS X
brew install diffstat
Raspbian
apt-get install diffstat

Create a histogram from the output of the diff command. More information: <https://manned.org/diffstat>.

  • Display changes in a histogram:
    diff file1 file2 | diffstat
  • Display inserted, deleted and modified changes as a table:
    diff file1 file2 | diffstat -t

© tl;dr; authors and contributors