lbzdiff man page

lbzcmp, lbzdiff — compare compressed files


lbzcmp [ cmp_options ] file1 [ file2 ]
lbzdiff [ diff_options ] file1 [ file2 ]


Zcmp and lbzdiff are used to invoke the cmp or the diff program on files compressed via lbzip2. All options specified are passed directly to cmp or diff. If only file1 is specified, it is compared to the uncompressed contents of file1.bz2. If two files are specified, their contents (uncompressed if necessary) are fed to cmp or diff. The input files are not modified. The exit status from cmp or diff is preserved.

See Also

cmp(1), diff(1), lbzmore(1), lbzgrep(1), lbzforce(1), lbzip2(1), lbzexe(1)


Messages from the cmp or diff programs may refer to file names such as "-" instead of to the file names specified.

Referenced By

lbzexe(1), lbzforce(1), lbzgrep(1), lbzmore(1).

Explore man page connections for lbzdiff(1).

lbzcmp(1) is an alias of lbzdiff(1).