1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/wdiff.md
2024-03-15 09:18:56 +05:30

16 lines
391 B
Markdown

# wdiff
> Display word differences between text files.
> More information: <https://www.gnu.org/software/wdiff/>.
- Compare two files:
`wdiff {{path/to/file1}} {{path/to/file2}}`
- Ignore case when comparing:
`wdiff --ignore-case {{path/to/file1}} {{path/to/file2}}`
- Display how many words are deleted, inserted or replaced:
`wdiff --statistics {{path/to/file1}} {{path/to/file2}}`