cksum.1 (2c0d39ad754b82c759352b58b983ab3f7f55f05a) | cksum.1 (f8a42d82e9fff548028285e4d6c828ce0b6a9b63) |
---|---|
1.\" Copyright (c) 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the Institute of Electrical and Electronics Engineers, Inc. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 18 unchanged lines hidden (view full) --- 27.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" SUCH DAMAGE. 34.\" | 1.\" Copyright (c) 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the Institute of Electrical and Electronics Engineers, Inc. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 18 unchanged lines hidden (view full) --- 27.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" SUCH DAMAGE. 34.\" |
35.\" @(#)cksum.1 8.1 (Berkeley) 6/29/93 36.\" $Id: cksum.1,v 1.2 1997/04/27 08:45:43 jmg Exp $ | 35.\" @(#)cksum.1 8.2 (Berkeley) 4/28/95 36.\" $Id: cksum.1,v 1.3 1997/04/29 08:41:26 jmg Exp $ |
37.\" | 37.\" |
38.Dd June 29, 1993 | 38.Dd April 28, 1995 |
39.Dt CKSUM 1 40.Os BSD 4.4 41.Sh NAME 42.Nm cksum 43.Nd display file checksums and block counts 44.Sh SYNOPSIS | 39.Dt CKSUM 1 40.Os BSD 4.4 41.Sh NAME 42.Nm cksum 43.Nd display file checksums and block counts 44.Sh SYNOPSIS |
45.Nm 46.Op Fl o Op \&1 \&| \&2 | 45.Nm cksum 46.Op Fl o Ar \&1 No \&| Ar \&2 |
47.Op Ar file ... 48.Sh DESCRIPTION 49The | 47.Op Ar file ... 48.Sh DESCRIPTION 49The |
50.Nm | 50.Nm cksum |
51utility writes to the standard output three whitespace separated 52fields for each input file. 53These fields are a checksum 54.Tn CRC , 55the total number of octets in the file and the file name. 56If no file name is specified, the standard input is used and no file name 57is written. 58.Pp --- 94 unchanged lines hidden (view full) --- 153.Rs 154.%T "Computation of Cyclic Redundancy Checks Via Table Lookup" 155.%A Dilip V. Sarwate 156.%J "Communications of the \\*(tNACM\\*(sP" 157.%D "August 1988" 158.Re 159.Sh STANDARDS 160The | 51utility writes to the standard output three whitespace separated 52fields for each input file. 53These fields are a checksum 54.Tn CRC , 55the total number of octets in the file and the file name. 56If no file name is specified, the standard input is used and no file name 57is written. 58.Pp --- 94 unchanged lines hidden (view full) --- 153.Rs 154.%T "Computation of Cyclic Redundancy Checks Via Table Lookup" 155.%A Dilip V. Sarwate 156.%J "Communications of the \\*(tNACM\\*(sP" 157.%D "August 1988" 158.Re 159.Sh STANDARDS 160The |
161.Nm 162utility is expected to be POSIX 1003.2 compatible. | 161.Nm cksum 162utility is expected to conform to 163.St -p1003.2-92 . |
163.Sh HISTORY 164The | 164.Sh HISTORY 165The |
165.Nm | 166.Nm cksum |
166utility appeared in 167.Bx 4.4 . | 167utility appeared in 168.Bx 4.4 . |