mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-30 17:33:50 +08:00
c96a4d5ea6
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
17 lines
520 B
Markdown
17 lines
520 B
Markdown
# pkgdiff
|
|
|
|
> Compare the file contents of two Slackware packages.
|
|
> More information: <https://slackware.nl/slackware/slackware64-current/source/a/pkgtools/manpages/pkgdiff.8>.
|
|
|
|
- Compare two packages and display differences:
|
|
|
|
`pkgdiff {{path/to/package1.txz}} {{path/to/package2.txz}}`
|
|
|
|
- Compare two packages with colorized output:
|
|
|
|
`pkgdiff -c {{path/to/package1.txz}} {{path/to/package2.txz}}`
|
|
|
|
- Compare two packages and output a simple unified diff:
|
|
|
|
`pkgdiff -a {{path/to/package1.txz}} {{path/to/package2.txz}}`
|