PKGDIFF(1) | User Commands | PKGDIFF(1) |
pkgdiff
— compare
package manifests
pkgdiff |
[-i attribute]...
[-o attribute]...
[-t
action_name[,action_name]...]...
[-v
name=value]...
file1 file2 |
pkgdiff
compares two package manifests and
reports differences. One of the manifests can be read from
stdin
by specifying - in place of
the file name. pkgdiff
sorts each manifest and
action into a consistent order before comparison.
Output is in the following form:
Actions with different variants but the same type and key attribute value are treated as separate actions for purposes of comparison. Thus, actions that change attributes are shown in their complete form rather than as attribute changes.
The following options are supported:
--help
-i
attributehash
attribute will also ignore any
other hash attribute and, similarly, ignoring size
will ignore all sizes. Ignoring any attribute with this option will
automatically also ignore the timestamp
attribute.
This option cannot be used with the -o
option.
This option can be specified multiple times.-o
attribute-i
option. This option
elides any action changes that do not affect
attribute on an action. This option can be specified
multiple times.-t
action_name[,action_name]...file
, dir
,
driver
, depend
,
set
. This option can be specified multiple
times.-v
name=valuearch=sparc
. This variant tag is
removed for all actions before comparison. Only one value can be specified
per variant. This option can be specified multiple times for different
variants.July 29, 2021 | OmniOS |