mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-21 18:02:26 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# wdiff
|
||||
|
||||
> Display word differences between text files.
|
||||
> More information: <https://www.gnu.org/software/wdiff/>.
|
||||
> More information: <https://www.gnu.org/software/wdiff/manual/html_node/wdiff-invocation.html#wdiff-invocation>.
|
||||
|
||||
- Compare two files:
|
||||
|
||||
@@ -14,8 +14,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Ignore case when comparing:
|
||||
|
||||
`wdiff --ignore-case {{path/to/file1}} {{path/to/file2}}`
|
||||
`wdiff {{[-i|--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}}`
|
||||
`wdiff {{[-s|--statistics]}} {{path/to/file1}} {{path/to/file2}}`
|
||||
|
||||
Reference in New Issue
Block a user