wdiff

Display word-level differences between text files in a clear format

brewmacoslinux
Try with needOr install directly
Source

About

Display word differences between text files

Commands

wdiff

Examples

Compare two text files and show word-level differences$ wdiff file1.txt file2.txt
Display differences with color output for better readability$ wdiff --color file1.txt file2.txt
Show statistics about word changes between files$ wdiff --statistics file1.txt file2.txt