diff options
author | brian <brian@FreeBSD.org> | 2000-07-14 16:54:59 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-07-14 16:54:59 +0000 |
commit | 55485e0103d7b63665f16e41d400e306498c92a8 (patch) | |
tree | 4e3548ebbcb3a10e411d5377fb39547c6ffae7dc /usr.bin/cmp/cmp.1 | |
parent | 9fcd42ea635d4165101b83693fb0be506fc85b93 (diff) | |
download | FreeBSD-src-55485e0103d7b63665f16e41d400e306498c92a8.zip FreeBSD-src-55485e0103d7b63665f16e41d400e306498c92a8.tar.gz |
Add the -z flag to check file sizes first
Correct the cmp.1 usage message
Correct the -l/-s incompatibility message
Submitted by: Mark Knight <markk@knigma.org>
Diffstat (limited to 'usr.bin/cmp/cmp.1')
-rw-r--r-- | usr.bin/cmp/cmp.1 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/cmp/cmp.1 b/usr.bin/cmp/cmp.1 index 60baf92..c8a5f25 100644 --- a/usr.bin/cmp/cmp.1 +++ b/usr.bin/cmp/cmp.1 @@ -43,7 +43,8 @@ .Nd compare two files .Sh SYNOPSIS .Nm cmp -.Op Fl l | Fl s +.Op Fl l | Fl s | Fl x +.Op Fl z .Ar file1 file2 .Op Ar skip1 Op Ar skip2 .Sh DESCRIPTION @@ -71,6 +72,9 @@ Like .Fl l but prints in hexadecimal and using zero as index for the first byte in the files. +.It Fl z +For regular files compare file sizes first, and fail the comparison if they +are not equal. .El .Pp The optional arguments |