bug-coreutils
[Top][All Lists]
Advanced

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

bug#7739: bug in md5sum ?


From: Eric Blake
Subject: bug#7739: bug in md5sum ?
Date: Mon, 27 Dec 2010 13:19:56 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

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   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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