aboutsummaryrefslogtreecommitdiff
path: root/bzdiff.1
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:29:20 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:29:20 -0800
commitcfb3b2780016b4e9ab4849e22d9c3acbaf535248 (patch)
tree528137ab7928f44991af00d35683fb5c85ae0880 /bzdiff.1
parent48e1144df43616c7672ed98ed9da40a50622c18b (diff)
downloadbzip2-cfb3b2780016b4e9ab4849e22d9c3acbaf535248.tar.gz
auto import from //depot/cupcake/@135843
Diffstat (limited to 'bzdiff.1')
-rw-r--r--bzdiff.147
1 files changed, 47 insertions, 0 deletions
diff --git a/bzdiff.1 b/bzdiff.1
new file mode 100644
index 0000000..adb7a8e
--- /dev/null
+++ b/bzdiff.1
@@ -0,0 +1,47 @@
+\"Shamelessly copied from zmore.1 by Philippe Troin <phil@fifi.org>
+\"for Debian GNU/Linux
+.TH BZDIFF 1
+.SH NAME
+bzcmp, bzdiff \- compare bzip2 compressed files
+.SH SYNOPSIS
+.B bzcmp
+[ cmp_options ] file1
+[ file2 ]
+.br
+.B bzdiff
+[ diff_options ] file1
+[ file2 ]
+.SH DESCRIPTION
+.I Bzcmp
+and
+.I bzdiff
+are used to invoke the
+.I cmp
+or the
+.I diff
+program on bzip2 compressed files. All options specified are passed
+directly to
+.I cmp
+or
+.IR diff "."
+If only 1 file is specified, then the files compared are
+.I file1
+and an uncompressed
+.IR file1 ".bz2."
+If two files are specified, then they are uncompressed if necessary and fed to
+.I cmp
+or
+.IR diff "."
+The exit status from
+.I cmp
+or
+.I diff
+is preserved.
+.SH "SEE ALSO"
+cmp(1), diff(1), bzmore(1), bzless(1), bzgrep(1), bzip2(1)
+.SH BUGS
+Messages from the
+.I cmp
+or
+.I diff
+programs refer to temporary filenames instead of those specified.