GNU bug report logs - #7155
[md5sum] does not accept

Previous Next

Package: coreutils;

Reported by: Rimas Kudelis <rq <at> rq.lt>

Date: Sun, 3 Oct 2010 19:28:01 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #34 received at 7155-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Rimas Kudelis <rq <at> rq.lt>
Cc: 7155-done <at> debbugs.gnu.org
Subject: Re: bug#7155: [md5sum] does not accept
Date: Fri, 16 Sep 2011 13:54:17 +0100
[Message part 1 (text/plain, inline)]
On 09/14/2011 11:43 PM, Rimas Kudelis wrote:
> 2011.09.14 17:12, Jim Meyering rašė:
>> Good point. I don't see a way to make GNU md5sum handle this automatically and safely. However, that's not a big deal: it's easy to convert from one format to the other using sed or perl. I'd be inclined to mark this "wontfix" (because we cannot) or simply to close it. 
> 
> 
> I think you could also implement this as a commandline switch, right?

Right. But that complicates the interface unnecessarily I think.

I'm going to apply the attached to give automatic support,
with the aforementioned caveat that BSD -r format checksums
where the _first_ file starts with a ' ' or '*' are not supported.
In that very unlikely case, one can always preprocess with sed 's/ /  /'

cheers,
Pádraig.
[md5sum-bsd.diff (text/plain, attachment)]

This bug report was last modified 13 years and 254 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.