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: Jim Meyering
Subject: bug#9531: md5sum: confusing documentation for file type output
Date: Sat, 17 Sep 2011 23:41:59 +0200

Eric Blake wrote:
> On 09/17/2011 07:50 AM, Rüdiger Meier wrote:
>> Maybe you could start to correct it this way:
>>
>> 1. add option --textmode ...
>
> Rather, --text.  But yes, we need this option, so that --binary can be

md5sum already has a --text option.

> default (like it was meant to be).  On systems where text and binary

--binary is already the default where it makes a difference,
unless reading from a terminal.

> are identical (per POSIX), you want the default to be ' ', not '*'.

That is already the case.

> And on systems where they differ, the major use of summing is to
> confirm binary compatibility, not text compatibility, so --text should
> be an explicit option for O_TEXT and you should default to O_BINARY.
> We shouldn't need a --binary, but must keep it for compatibility.





reply via email to

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