Fix license info ( BSD-3-Clause -> BSD-2.0 )
[platform/upstream/bzip2.git] / bzdiff.1
1 \"Shamelessly copied from zmore.1 by Philippe Troin <phil@fifi.org>
2 \"for Debian GNU/Linux
3 .TH BZDIFF 1
4 .SH NAME
5 bzcmp, bzdiff \- compare bzip2 compressed files
6 .SH SYNOPSIS
7 .B bzcmp
8 [ cmp_options ] file1
9 [ file2 ]
10 .br
11 .B bzdiff
12 [ diff_options ] file1
13 [ file2 ]
14 .SH DESCRIPTION
15 .I  Bzcmp
16 and 
17 .I bzdiff
18 are used to invoke the
19 .I cmp
20 or the
21 .I diff
22 program on bzip2 compressed files.  All options specified are passed
23 directly to
24 .I cmp
25 or
26 .IR diff "."
27 If only 1 file is specified, then the files compared are
28 .I file1
29 and an uncompressed
30 .IR file1 ".bz2."
31 If two files are specified, then they are uncompressed if necessary and fed to
32 .I cmp
33 or
34 .IR diff "."
35 The exit status from 
36 .I cmp
37 or
38 .I diff
39 is preserved.
40 .SH "SEE ALSO"
41 cmp(1), diff(1), bzmore(1), bzless(1), bzgrep(1), bzip2(1)
42 .SH BUGS
43 Messages from the
44 .I cmp
45 or
46 .I diff
47 programs refer to temporary filenames instead of those specified.