Update cheatsheets

This commit is contained in:
ivuorinen
2024-03-16 00:12:33 +00:00
parent 0372a9907d
commit 1c7d3e3ebc
5 changed files with 54 additions and 4 deletions

21
tldr/wdiff Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`