![]() |
|
||
![]() |
Problem: The checksum computed by cksum() on Dec Unix (Tru 64, OSF1) systems can differ from that computed on Linux and Solaris.
Solution: On your DEC Unix system try;
prompt$ export CMD_ENV=xpg4 , or
prompt% setenv CMD_ENV xpg4
to get the checksum computed to the IEEE Std 1003.2-1992 and X/Open CAE specifications. (The default is computed using an earlier algorithm which seems seldom used elsewhere). See description of cksum at http://h30097.www3.hp.com/ .
John Reynolds
Feb 2007