2025-03-14 21:59:59 -06:00
|
|
|
# wdiff
|
|
|
|
|
|
|
|
|
|
> Display word differences between text files.
|
2025-04-03 20:36:56 -06:00
|
|
|
> More information: <https://www.gnu.org/software/wdiff/manual/html_node/wdiff-invocation.html#wdiff-invocation>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Compare two files:
|
|
|
|
|
|
|
|
|
|
`wdiff {{path/to/file1}} {{path/to/file2}}`
|
|
|
|
|
|
|
|
|
|
- Ignore case when comparing:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`wdiff {{[-i|--ignore-case]}} {{path/to/file1}} {{path/to/file2}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display how many words are deleted, inserted or replaced:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`wdiff {{[-s|--statistics]}} {{path/to/file1}} {{path/to/file2}}`
|