[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: add --color option to md5sum and shaXsum
From: |
Pádraig Brady |
Subject: |
Re: add --color option to md5sum and shaXsum |
Date: |
Tue, 24 Dec 2013 21:41:53 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 12/24/2013 12:25 PM, Florent Monnier wrote:
> Hello,
>
> This patch adds a --color option to the commands md5sum and shaXsum.
> The goal is to make it easier to visually identify similarities in a
> list of printed checksums.
>
> It takes action only if stdout is a tty.
>
> This patch can be applied on the version 8.22 of the coreutils.
>
Sorry you've lost me. Why would you want this?
If you wanted to compare hashes wouldn't it be better
to pipe to uniq with something like: md5sum * | uniq --group -w32
Also this doesn't strictly need to be within the *sum utils,
so if not of general use, it might be best done as a separate util
(which could also sort similarly perhaps)?
thanks,
Pádraig.