[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] Checking multiple .md5 files (updated to CVS)
From: |
Bob Proulx |
Subject: |
Re: [patch] Checking multiple .md5 files (updated to CVS) |
Date: |
Mon, 18 Jul 2005 23:21:35 -0600 |
User-agent: |
Mutt/1.5.9i |
Shish wrote:
> There weren't any comments last time, and it didn't seem to get applied,
> so I figured I'd try again with a patch against current CVS for easier
> applying (rather than the last proper release). A rejection would be
> favoured over silence, so at least I know my email setup is working :)
Looking up your previous message I see:
> Having finally become fed up with "cat *.md5 | md5sum -c" enough to do
> something about it,
That just seemed like a perfect use of cat and pipes to me. I would
not have thought twice about it.
As as far alternative methods go, if you can tolerate bashisms then
the following works.
md5sum -c <(cat *.md5)
> I edited md5sum to allow "md5sum -c *.md5". sha1sum is also affected
> by way of using the same code.
But I have no opinion on the addition of the patch the code. It seems
small enough and generally in the spirit of the utilities though.
Bob