X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=zdiff.1;h=0c826c3ffeaee9fb6dc42c3072c02a62119c6465;hb=92249085071a973e2c0621b0415b93d2e48bb00d;hp=3a586a2f3b01e2c3efe1a37d242ded419599e53a;hpb=4ee107046a0ffd91f6c60c787326a5e27b799f6d;p=debian%2Fgzip diff --git a/zdiff.1 b/zdiff.1 index 3a586a2..0c826c3 100644 --- a/zdiff.1 +++ b/zdiff.1 @@ -10,7 +10,6 @@ zcmp, zdiff \- compare compressed files [ diff_options ] file1 [ file2 ] .SH DESCRIPTION -.P .I Zcmp and .I zdiff @@ -24,26 +23,20 @@ All options specified are passed directly to .I cmp or .IR diff "." -If only one file is specified, then it is compared to a file with the same name -without the -.I ".gz" -extension. If two files are specified, then they are uncompressed if necessary -and fed to +If only +.I file1 +is specified, it is compared to the uncompressed contents of +.IR file1 ".gz." +If two files are specified, their contents (uncompressed if necessary) are fed to .I cmp or .IR diff "." +The input files are not modified. The exit status from .I cmp or .I diff is preserved. -.P -When both files must be uncompressed before comparison, the second is -uncompressed to -.IR "/tmp" "." -In all other cases, -.IR "zdiff" " and " "zcmp" -use only a pipe. .SH "SEE ALSO" cmp(1), diff(1), zmore(1), zgrep(1), znew(1), zforce(1), gzip(1), gzexe(1) .SH BUGS @@ -51,4 +44,5 @@ Messages from the .I cmp or .I diff -programs refer to temporary filenames instead of those specified. +programs may refer to file names such as "\-" instead of to the file +names specified.