This commit is contained in:
JMARyA 2023-12-04 11:02:23 +01:00
commit c5cd492449
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
475 changed files with 27928 additions and 0 deletions

View file

@ -0,0 +1,20 @@
---
obj: application
wiki: https://en.wikipedia.org/wiki/Diff
website: https://www.gnu.org/software/diffutils/
repo: https://git.savannah.gnu.org/cgit/diffutils.git
---
# diff
compare files line by line
Usage: `diff [OPTION]... FILES`
## Options
| Option | Description |
| ------------------------------ | ----------------------------------------------- |
| `--normal` | output a normal diff (the default) |
| `-q, --brief` | report only when files differ |
| `-s, --report-identical-files` | report when two files are the same |
| `-c, -C NUM, --context[=NUM]` | output NUM (default 3) lines of copied context |
| `-u, -U NUM, --unified[=NUM]` | output NUM (default 3) lines of unified context |
| `-r, --recursive` | recursively compare any subdirectories found |
| `-a, --text` | treat all files as text |