On 2016-11-15 12:54:53 -0800, Kevin J. McCarthy wrote:
On Tue, Nov 15, 2016 at 01:29:15PM +0000, Andras Salamon wrote:
It
doesn't look like Digest::MD5 is a core Perl module so there may be
systems out there with Perl but without Digest::MD5.
Looks like it's a core module to me:
http://perldoc.perl.org/index-modules-D.html
You are right, I misread the CPAN list of Digest::MD5 prerequisites.
MacOS (and possibly other BSD variants) have /sbin/md5 but no md5sum.
This has a slightly different output format.
Do you happen to have the output format handy? Thank you!
% md5 filename
MD5 (filename) = 65f43d364a687d7851df2b486770f24d
% md5 -q filename
65f43d364a687d7851df2b486770f24d
% md5 -r filename
65f43d364a687d7851df2b486770f24d filename
% echo "Hello world" | md5
f0ef7081e1539ac00ef5b761b4fb01b3
-- Andras Salamon and...@dns.net