Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0
On 07/24/2012 12:18 PM, Ondrej Oprala wrote:
> Hello,
> I'd like to consult this RFE
>http://lists.gnu.org/archive/html/bug-coreutils/2009-11/msg00341.html and
> find out if my proposed solutions would be satisfactory. There shouldn't be
> a problem with printing the
> hash-type prefix before printing the generated hash. My concerns are more
> with the hash utils' logic
> during hash check. Should the utils recognize the prefix/prefixless version
> of the input on their own
> or should they require the proposed '-l' switch during the checking as
> well? Personally, I'd lean more
> towards the idea of automatic prefix recognition, which shouldn't be too
> hard to implement and would probably
> feel more natural to everyone.
> Cheers,
> Ondrej Oprala
A fairly sensible idea.
Generating the tags would need to be optional of course.
I vote for --tag.
Consuming the tags with --check should be automatic.
Tags could be useful too if we ever decided to consolidate
to a single checksum util.
cheers,
Pádraig.