PDFDIFF(1M)
NAME
pdfdiff − compare two Product Description Files
SYNOPSIS
pdfdiff [ −p percent ] pdf1 pdf2
DESCRIPTION
Pdfdiff is a program that compares two PDFs (Product Description Files). The PDFs can be generated using the mkpdf(1M) program. Individual fields in the PDFs are compared, and differences found in these fields are reported. For a detailed explanation of the PDF fields see pdf(4).
The report format is:
pathname: diff_field[(details) ][ ,...]
Diff_field is one of the field names specified in pdf(4). The format of details is “oldvalue −> newvalue” and may include an additional “(added description)”.
A summary of total product growth in bytes, DEV_BSIZE disk blocks, and the percentage change in disk blocks will be reported. This summary includes growth of all files, including those for which growth did not exceed the threshhold percent. Format of the growth summary is:
Growth: x bytes, y blocks (z%)
OPTIONS
−p percent specifies a threshhold percentage for file growth. Files having a net size change greater than or equal to this percentage will be reported. A decrease in size is reported as a negative number. If −p is not specified, a default value of zero percent is used.
EXAMPLE
The following output results when the /bin/cat entry in the example from pdf(4) is different in the compared PDF:
/bin/cat: mode(-r-xr-xr-x -> -r-sr-xr-x)(became suid), size(27724 -> 10345),
checksum(1665 -> 398)
Growth: -17379 bytes, -17 blocks (-4%)
FILES
/system/fileset_name/pdf
SEE ALSO
Hewlett-Packard Company — HP-UX Release 7.0: Sept 1989