mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:22:07 +02:00
wdiff: add page (#12507)
This commit is contained in:
parent
21ad18714b
commit
83a6501a11
1 changed files with 16 additions and 0 deletions
16
pages/common/wdiff.md
Normal file
16
pages/common/wdiff.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# 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}}`
|
Loading…
Add table
Reference in a new issue