bug-coreutils
[Top][All Lists]
Advanced

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

bug#9531: md5sum: confusing documentation for file type output


From: Alan Curry
Subject: bug#9531: md5sum: confusing documentation for file type output
Date: Sat, 17 Sep 2011 18:25:56 -0500 (GMT+5)

=?UTF-8?Q?R=C3=BCdiger?= Meier writes:
> Or in other words you can never validate a ' ' md5sum unless you know
> about the platform which calculated it.

Not exactly. It works transparently if the appropriate translation was done
at the time of the transfer from the original platform to the current
platform (e.g. FTP'ed in text mode, not binary mode).

If you transferred a text file in binary mode, you have something that's
bitwise identical, but semantically different, so md5sum is right to
complain.

Well, at least the above would apply if you believed that having a
"text file"/"binary file" distinction is a good idea at all. Which I don't.

-- 
Alan Curry





reply via email to

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