Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'perl version' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
perl version
Authored by: SOX on Dec 29, '04 12:03:42AM
In perl, with some extra features:
cksum test.file | perl -wane 'printf "%0x %d %s\n",@F'

replace test.file with any filename, or any list of files

for example to apply this to every file in the current directory:

cksum ./* | perl -wane 'printf "%0x %d %s\n",@F'



[ Reply to This | # ]