1. NAME

xzcmp, xzdiff, lzcmp, lzdiff - compare compressed files

2. SYNOPSIS

xzcmp [ cmp_options "] " file1 " [" file2 ]

xzdiff [ diff_options "] " file1 " [" file2 ]

lzcmp [ cmp_options "] " file1 " [" file2 ]

lzdiff [ diff_options "] " file1 " [" file2 ]

3. DESCRIPTION

xzcmp and

xzdiff invoke

R cmp (1) or

R diff (1) on files compressed with

R xz (1),

R lzma (1),

R gzip (1), or

R bzip2 (1). All options specified are passed directly to

R cmp (1) or

R diff (1). If only one file is specified, then the files compared are file1(which must have a suffix of a supported compression format) and file1from which the compression format suffix has been stripped. If two files are specified, then they are uncompressed if necessary and fed to

R cmp (1) or

R diff (1). The exit status from

R cmp (1) or

R diff (1) is preserved.

The names

lzcmp and

lzdiff are provided for backward compatibility with LZMA Utils.

4. SEE ALSO

R cmp (1),

R diff (1),

R xz (1),

R gzip (1),

R bzip2 (1),

R zdiff (1)

5. BUGS

Messages from the

R cmp (1) or

R diff (1) programs refer to temporary filenames instead of those specified.