HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pkgdiff — Compare the file contents of two Slackware packages. More information: <https://slackware.nl/slackwa

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandcontentstwoclifilecomparepkgdiff
linux

Problem

How to use the pkgdiff command: Compare the file contents of two Slackware packages. More information: <https://slackware.nl/slackware/slackware64-current/source/a/pkgtools/manpages/pkgdiff.8>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: linux/pkgdiff

Revisions (0)

No revisions yet.