wdiff2

Compares two files word by word

Install

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

wdiff

Compares two files word by word

`wdiff' is a front-end to GNU `diff'. It compares two files, finding which words have been deleted or added to the first in order to create the second. It has many output formats and interacts well with terminals and pagers (notably with `less'). `wdiff' is particularly useful when two texts differ only by a few words and paragraphs have been refilled.