bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] Checking multiple .md5 files (updated to CVS)


From: Shish
Subject: Re: [patch] Checking multiple .md5 files (updated to CVS)
Date: Mon, 18 Jul 2005 20:35:36 +0100

Paul Eggert <address@hidden> wrote:

> Sorry, I didn't see it last time.  Can you please send a "diff -u"
> patch, and a ChangeLog entry discussing why the patch is desirable?
> Thanks.

This is my first GNU patch, please excuse my not knowing the
traditions -- regarding that I've been looking round the contribution
guidelines; I'm not sure how legally strict I'm supposed to be, but
"this is all my own code, the GNU organisation can do whatever they
want with it, don't sue me if it goes wrong" sums up my stance.

~

The reasoning behind the patch is that some people (like myself) prefer
to have one .md5 file per regular file in a directory rather than
one .md5 file for the lot (easier to move files around, etc).
"cat *.md5 | md5sum -c" seems long winded, IMHO "md5sum -c *.md5" is
more obvious. sha1sum is also affected by way of using the same code.
The new "ok" status is ANDed with the current status, so any error in
any file will cause the program to exit with a failure code.

    -- Shish

~

2005-07-18  Chris Girling  <address@hidden>

        * src/md5sum.c (main): Allow multiple arguments in --check mode

Attachment: md5_multicheck2.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]