mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
bd7aaa54ad
Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
13 lines
334 B
Markdown
13 lines
334 B
Markdown
# diffstat
|
|
|
|
> Create a histogram from the output of the `diff` command.
|
|
> More information: <https://manned.org/diffstat>.
|
|
|
|
- Display changes in a histogram:
|
|
|
|
`diff {{path/to/file1}} {{path/to/file2}} | diffstat`
|
|
|
|
- Display inserted, deleted, and modified changes as a table:
|
|
|
|
`diff {{path/to/file1}} {{path/to/file2}} | diffstat -t`
|