tldr/pages/common/diffstat.md

13 lines
301 B
Markdown
Raw Normal View History

# diffstat
> Create a histogram from the output of the `diff` command.
2021-04-17 16:15:37 +01:00
> 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`