commands.sh

wdiff

all

Display word differences between text files.

More info →

Options (2)

-i, --ignore-caseboolean

Ignore case when comparing

Example: wdiff {{[-i|--ignore-case]}} {{path/to/file1}} {{path/to/file2}}
-s, --statisticsboolean

Display how many words are deleted, inserted, or replaced

Example: wdiff {{[-s|--statistics]}} {{path/to/file1}} {{path/to/file2}}

Examples (3)

Compare two files

wdiff path/to/file1 path/to/file2

Ignore case when comparing

wdiff [-i|--ignore-case] path/to/file1 path/to/file2

Display how many words are deleted, inserted, or replaced

wdiff [-s|--statistics] path/to/file1 path/to/file2
made by @shridhargupta | data from tldr-pages