bug-coreutils
[Top][All Lists]
Advanced

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

Re: bug in sha1sum


From: Phillip Susi
Subject: Re: bug in sha1sum
Date: Tue, 13 May 2008 16:42:00 -0400
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

Philip Rowlands wrote:
Coreutils manpages tend to be short reference sheets listing the available options. Further documentation is provided in the "info" command, as should be mentioned as the end of each manpage.

 From the docs:
`-b'
`--binary'
     Treat each input file as binary, by reading it in binary mode and
     outputting a `*' flag.  This is the inverse of `--text'.  On
     systems like GNU that do not distinguish between binary and text
     files, this option merely flags each input file as binary: the MD5
     checksum is unaffected.  This option is the default on systems
     like MS-DOS that distinguish between binary and text files, except
     for reading standard input when standard input is a terminal.

`-t'
`--text'
     Treat each input file as text, by reading it in text mode and
     outputting a ` ' flag.  This is the inverse of `--binary'.  This
     option is the default on systems like GNU that do not distinguish
     between binary and text files.  On other systems, it is the
     default for reading standard input when standard input is a
     terminal.

I have to agree with Dave on this then. It is a severe bug that text mode is the default since this means that you will get different results for the checksum on MS-DOS/Windows than on a GNU/Linux system.






reply via email to

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