Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit


» HP STK home
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
Content starts here

critical impact:

cksum - checksum difference (CrCh346)

CMD Impacts

Problem description

The cksum command calculates different checksums on Tru64 UNIX and HP-UX by default.

On Tru64 UNIX, the cksum command uses a nonstandard checksum algorithm by default, and it uses the standard algorithm when the CMD_ENV environment variable is set to xpg4. On HP-UX, the command always uses the standard algorithm.


UNIX Commandscksum            

See also

Solution description

To calculate the same checksums on Tru64 UNIX and HP-UX, run cksum on Tru64 UNIX with the CMD_ENV environment variable set to xpg4.

Note that setting CMD_ENV to xpg4 also affects some other commands on Tru64 UNIX: df, ipcs, and od. The setting changes some of their output from traditional to standard format. Just as with cksum, the setting makes the commands more compatible with the ones found on HP-UX.

See also

Problem summary

classifications source types OS release severity type
CMD Make, Script any HP-UX 11i version critical changed
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.