diff options
author | bde <bde@FreeBSD.org> | 1997-07-06 03:03:10 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-07-06 03:03:10 +0000 |
commit | 1576c35fbe706826e867129cb23898825893507c (patch) | |
tree | 0c3780cb5e37fcb0188d5123c71c3c61ff55a956 /usr.bin/cksum/cksum.1 | |
parent | 532dea9042abf44b0a21290e3e3e16fba10a32f7 (diff) | |
download | FreeBSD-src-1576c35fbe706826e867129cb23898825893507c.zip FreeBSD-src-1576c35fbe706826e867129cb23898825893507c.tar.gz |
Merge from Lite2 (make the command `sum' an alias for `cksum -o 1', and
reject -o args other than "1" or "2").
Diffstat (limited to 'usr.bin/cksum/cksum.1')
-rw-r--r-- | usr.bin/cksum/cksum.1 | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/usr.bin/cksum/cksum.1 b/usr.bin/cksum/cksum.1 index a88b905..c94fceb 100644 --- a/usr.bin/cksum/cksum.1 +++ b/usr.bin/cksum/cksum.1 @@ -32,8 +32,8 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" @(#)cksum.1 8.2 (Berkeley) 4/28/95 -.\" $Id: cksum.1,v 1.3 1997/04/29 08:41:26 jmg Exp $ +.\" @(#)cksum.1 8.2 (Berkeley) 4/28/95 +.\" $Id: cksum.1,v 1.4 1997/06/25 07:02:00 charnier Exp $ .\" .Dd April 28, 1995 .Dt CKSUM 1 @@ -45,6 +45,8 @@ .Nm cksum .Op Fl o Ar \&1 No \&| Ar \&2 .Op Ar file ... +.Nm sum +.Op Ar file ... .Sh DESCRIPTION The .Nm cksum @@ -56,6 +58,14 @@ the total number of octets in the file and the file name. If no file name is specified, the standard input is used and no file name is written. .Pp +The +.Nm sum +utility is identical to the +.Nm cksum +utility, except that it defaults to using historic algorithm 1, as +described below. +It is provided for compatibility only. +.Pp The options are as follows: .Bl -tag -width indent .It Fl o @@ -141,8 +151,10 @@ The bit sequence is complemented and the result is the CRC. .Ed .Pp The -.Nm -utility exits 0 on success, and >0 if an error occurs. +.Nm cksum +and +.Nm sum +utilities exit 0 on success, and >0 if an error occurs. .Sh SEE ALSO .Xr md5 1 .Rs |