Provided by: zutils_0.9-4_i386
Zdiff - decompress and compare two files line by line
zdiff [options] file1 [file2]
Zdiff compares two files ("-" means standard input), and if they
differ, shows the differences line by line. If any given file is
compressed, its uncompressed content is used. Zdiff is a front end to
the diff program and has the limitation that messages from diff refer
to temporary filenames instead of those specified. The supported
compressors are bzip2, gzip, lzip and xz.
Compares <file1> to <file2>. If <file2> is omitted zdiff tries the
following: If <file1> is compressed, compares <file1> to the file with
the corresponding decompressed file name (removes the extension from
<file1>). If <file1> is not compressed, compares <file1> to the
uncompressed contents of <file1>.[bz2|gz|lz|xz] (the first one that is
found). If no suitable file is found, compares <file1> to data read
from standard input.
Exit status is 0 if inputs are identical, 1 if different, 2 if trouble.
display this help and exit
output version information and exit
treat all files as text
ignore changes in the amount of white space
ignore changes whose lines are all blank
-c use the context output format
same as -c but use <n> lines of context
try hard to find a smaller set of changes
ignore changes due to tab expansion
ignore case differences in file contents
show which C function each change is in
output only whether files differ
report when two files are identical
expand tabs to spaces in output
make tabs line up by prepending a tab
-u use the unified output format
same as -u but use <n> lines of context
ignore all white space
Numbers may be followed by a multiplier: k = kB = 10^3 = 1000, Ki = KiB
= 2^10 = 1024, M = 10^6, Mi = 2^20, G = 10^9, Gi = 2^30, etc...
Report bugs to firstname.lastname@example.org
Zutils home page: http://www.nongnu.org/zutils/zutils.html
Copyright © 2011 Antonio Diaz Diaz. License GPLv3+: GNU GPL version 3
or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.