bzcmp, bzdiff

compare bzip2 compressed files 

Command


SYNOPSIS

bzcmp [cmp_options] file1 [file2]

bzdiff [diff_options] file1 [file2]


DESCRIPTION

The bzcmp and bzdiff utilities are used to invoke the cmp or diff utility on bzip2 compressed files. All options specified are passed directly to cmp or diff. If only 1 file is specified, then the files compared are file1 and an uncompressed file1.bz2. If two files are specified, then they are uncompressed if necessary and fed to cmp or diff.

Note:

Messages from the cmp or diff utility refer to temporary file names instead of those specified.

Options

The bzcmp and bzdiff utilities accept and pass on the options used by the cmp and diff utilities, respectively.


DIAGNOSTICS

The bzcmp and bzdiff utilities preserve and return the exit status returned from cmp or diff, respectively.


NOTE

These utilities are provided as a KornShell executable scripts. MKS cannot be responsible for proper functionality of this code if you alter the bzdiff.sh and bzcmp.sh files in any way.


PORTABILITY

Windows 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022.


AVAILABILITY

PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Commands:
bzgrep, bzip2, bzmore, cmp, diff

MKS Toolkit Backup and Tape Handling Solutions Guide


PTC MKS Toolkit 10.4 Documentation Build 39.