2017-10-10 16:23:07 +01:00
|
|
|
# diffstat
|
|
|
|
|
2017-10-11 19:57:10 +01:00
|
|
|
> Create a histogram from the output of the `diff` command.
|
2021-04-17 16:15:37 +01:00
|
|
|
> More information: <https://manned.org/diffstat>.
|
2017-10-10 16:23:07 +01:00
|
|
|
|
|
|
|
- Display changes in a histogram:
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`diff {{path/to/file1}} {{path/to/file2}} | diffstat`
|
2017-10-10 16:23:07 +01:00
|
|
|
|
2017-10-11 19:57:10 +01:00
|
|
|
- Display inserted, deleted and modified changes as a table:
|
2017-10-10 16:23:07 +01:00
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`diff {{path/to/file1}} {{path/to/file2}} | diffstat -t`
|