ZDIFF(1) FreeBSD General Commands Manual ZDIFF(1) NAME zdiff -- differential file and directory comparator for compressed files. SYNOPSIS zdiff [-abdilpqTtw] [-I pattern] [-c | -e | -f | -n | -u] [-L label] file1 file2 zdiff [-abdilpqTtw] [-I pattern] [-L label] -C [number] file1 file2 zdiff [-abdilqtw] [-I pattern] -D string file1 file2 zdiff [-abdilpqTtw] [-I pattern] [-L label] -U number file1 file2 zdiff [-abdilNPpqrsTtw] [-I pattern] [-c | -e | -f | -n | -u] [-L label] [-S name] [-X file] [-x pattern] dir1 dir2 zdiff [-v] DESCRIPTION The zdiff utility compares the decompressed contents of gzip file1 and file2 and writes to the standard output the list of changes necessary to convert one file into the other. No output is produced if the files are identical. See diff(1) for program options. ENVIRONMENT TMPDIR If the environment variable TMPDIR exists, zdiff will use the directory specified by TMPDIR as the temporary directory. FILES /tmp/diff.XXXXXXXX Temporary file used when comparing a device or the standard input. Note that the temporary file is unlinked as soon as it is created so it will not show up in a directory listing. DIAGNOSTICS The zdiff utility exits with one of the following values: 0 No differences were found. 1 Differences were found. >1 An error occurred. SEE ALSO diff(1), cmp(1), diff3(1), sdiff(1), zsdiff(1) FreeBSD 9.0 August 15, 2012 FreeBSD 9.0