A Tcl implementation of the cksum(1) command is now part of [Tcllib] and should end up in Tcllib 1.2. [PT] For example: % package require cksum 1.0 % crc::cksum "Hello, World!" 2609532967 % crc::cksum -file cksum.tcl 871033703 % exec cksum cksum.tcl 871033703 6652 cksum.tcl % ---- See the code at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/tcllib/tcllib/modules/crc/cksum.tcl?rev=HEAD&content-type=text/vnd.viewcvs-markup ---- [Category Package] subset [Tcllib] see also [crc] and [sum]