1
0
Fork 0
zutils/doc/zdiff.1

54 lines
1.6 KiB
Groff
Raw Normal View History

.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
.TH ZDIFF "1" "August 2009" "Zdiff 0.2" "User Commands"
.SH NAME
Zdiff \- manual page for Zdiff 0.2
.SH SYNOPSIS
.B zdiff
[\fIOPTIONS\fR] [\fIDIFF_OPTIONS\fR] \fIFILE1 \fR[\fIFILE2\fR]
.SH DESCRIPTION
Zdiff \- Diff/cmp wrapper for compressed files.
.PP
Zdiff is a wrapper script around the diff and cmp commands that allows
transparent comparison of any combination of compressed and
non\-compressed files. If any given file is compressed, its uncompressed
content is used. The supported compressors are gzip, bzip2, lzip and xz.
.PP
Zcmp is a shortcut for "zdiff \fB\-\-cmp\fR"
.PP
Compares FILE1 to FILE2. If FILE2 is omitted, compares FILE1 to the
uncompressed contents of FILE1.[gz|bz2|lz] (depending on the default
compressor selected). DIFF_OPTIONS are passed directly to diff or cmp.
The exit status from diff or cmp is preserved.
.SH OPTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
display this help and exit
.TP
\fB\-V\fR, \fB\-\-version\fR
output version information and exit
.TP
\fB\-\-gzip\fR
use gzip as default decompressor
.TP
\fB\-\-bzip2\fR
use bzip2 as default decompressor
.TP
\fB\-\-lzip\fR
use lzip as default decompressor (default)
.TP
\fB\-\-xz\fR
use xz as default decompressor
.TP
\fB\-\-diff\fR
use diff to compare files (default)
.TP
\fB\-\-cmp\fR
use cmp to compare files
.SH "REPORTING BUGS"
Report bugs to lzip\-bug@nongnu.org
Lzip home page: http://www.nongnu.org/lzip/lzip.html
.SH COPYRIGHT
Copyright \(co 2009 Antonio Diaz Diaz.
This script is free software: you have unlimited permission
to copy, distribute and modify it.