mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:42:07 +02:00
12 lines
301 B
Markdown
12 lines
301 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 {{file1}} {{file2}} | diffstat`
|
|
|
|
- Display inserted, deleted and modified changes as a table:
|
|
|
|
`diff {{file1}} {{file2}} | diffstat -t`
|