snippetbashTip
diffstat — Create a histogram from the output of the `diff` command. More information: <https://manned.org/diff
Viewed 0 times
thecreatecommandfromclidiffstathistogramoutput
Problem
How to use the
diffstat command: Create a histogram from the output of the diff command. More information: <https://manned.org/diffstat>.Solution
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}} | diffstatDisplay inserted, deleted, and modified changes as a table:
diff {{path/to/file1}} {{path/to/file2}} | diffstat -tCode Snippets
Display changes in a histogram
diff {{path/to/file1}} {{path/to/file2}} | diffstatDisplay inserted, deleted, and modified changes as a table
diff {{path/to/file1}} {{path/to/file2}} | diffstat -tContext
tldr-pages: common/diffstat
Revisions (0)
No revisions yet.