Subject: | feature request for Digest SHA |
Date: | Tue, 8 Aug 2017 21:15:13 -0700 |
To: | bug-Digest-SHA [...] rt.cpan.org |
From: | Chris David <chris [...] chrisdavid.com> |
Hi,
This is not a bug really, just a feature request. I have attached a patch
that includes the feature. I have tested this on Digest-SHA-5.95. The
patch is intended for 5.96.
Use Case:
I was using the shasum program on Debian Linux to checksum and validate
contents of thousands of files. When I use -c option to validate this many
files, I would like to only see problems, and silence all the OK messages
for the files that pass. md5sum for example has a similar feature IIRC.
I modified the shasum program to implement a -q / --quiet option which
silence's the OK messages for each file, but nothing else. This worked
well for my use case.
Please consider using this patch or implementing something similar. I
officially declare that the attached patch is solely my own work, and I
license it using any license Perl or CPAN module has ever been licensed
with, recipients choice exactly which one.
Thanks,
-Chris David
Message body is not shown because sender requested not to inline it.