From: Christian Millour
Sent: Tuesday, May 16, 2017 9:14 AM
Subject: Re: Wrong SHA1 is calculated
Le 15/05/2017 à 16:30, sisyph...@optusnet.com.au a écrit :
Unfortunately, I don't know how to get that binmode() into the
one-liner's angle brackets :-(
$ PERLIO=unix perl -MDigest::SHA1=sha1_hex -le "print sha1_hex <>"
Yes, I think that should give the OP the result he was seeking.