👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

RedHat 9 (Linux i386) - man page for cksum (redhat section n)

cksum(n)				      cksum					 cksum(n)

NAME
       cksum - calculate a cksum(1) compatible checksum

SYNOPSIS
       package require Tcl 8.2

       package require cksum ?1.0?

       ::crc::cksum ?-format format? message

       ::crc::cksum ?-format format? -filename file

DESCRIPTION
       This  package  provides	a  Tcl-only  implementation  of the cksum(1) algorithm based upon
       information provided at in the GNU implementation of this program as part of the GNU  Tex-
       tutils 2.0 package.

COMMANDS
       ::crc::cksum ?-format format? message

       ::crc::cksum ?-format format? -filename file
	      The  command  takes  string data or a file name and returns a checksum value calcu-
	      lated using the cksum(1) algorithm. The result is  formatted  using  the	format(n)
	      specifier provided or as an unsigned integer (%u) by default.

OPTIONS
       -filename name
	      Return a checksum for the file contents instead of for parameter data.

       -format string
	      Return the checksum using an alternative format template.

EXAMPLES
       % crc::cksum "Hello, World!"
       2609532967

       % crc::cksum -format 0x%X "Hello, World!"
       0x9B8A5027

       % crc::cksum -file cksum.tcl
       1828321145

SEE ALSO
       sum(n), crc32(n)

AUTHORS
       Pat Thoyts

KEYWORDS
       cksum, checksum, crc, crc32, cyclic redundancy check, data integrity, security

crc					       1.0					 cksum(n)


All times are GMT -4. The time now is 02:03 PM.

Unix & Linux Forums Content CopyrightŠ1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password