GNU bug report logs - #7739
bug in md5sum ?

Previous Next

Package: coreutils;

Reported by: Arnaud TARDY <hishiryo <at> free.fr>

Date: Sun, 26 Dec 2010 21:47:02 UTC

Severity: normal

Tags: moreinfo

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eric Blake <eblake <at> redhat.com>
To: Jon Stanley <jonstanley <at> gmail.com>
Cc: 7739 <at> debbugs.gnu.org, Arnaud TARDY <hishiryo <at> free.fr>
Subject: bug#7739: bug in md5sum ?
Date: Mon, 27 Dec 2010 13:19:56 -0700
[Message part 1 (text/plain, inline)]
On 12/26/2010 06:21 PM, Jon Stanley wrote:
> 
> I think that you're seeing the difference in line termination
> characters in Linux and Windows. If you just want the characters
> themselves echoed to the command in Linux, you need to use 'echo -n'
> otherwise it gets terminated with a newline.

'echo -n' is non-portable.  You are better off conditioning yourself to
think about 'printf' rather than perpetuating the problems associated
with 'echo -n'.

-- 
Eric Blake   eblake <at> redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 14 years and 103 days ago.

Previous Next


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