md5sum
Matthias Andree
matthias.andree at gmx.de
Sun Jul 3 19:24:59 CEST 2005
David Relson <relson at osagesoftware.com> writes:
> On Sat, 02 Jul 2005 17:09:10 +0200
> Boris 'pi' Piwinger wrote:
>
>> David Relson <relson at osagesoftware.com> wrote:
>>
>> >I'm not familiar with md5. Is it the same as md5sum? The command is
>> >used in script src/tests/t.encoding. Try changing 'md5sum' to 'md5'
>> >and running "t.encoding -v". If there's no complaint, the test has
>> >succeeded.
>>
>> :$ t.encoding
>> :Results are in ./encoding.20050702. Remove it after testing.
>> :./encoding.20050702/md5sum.ref ./encoding.20050702/md5sum.out differ: char 34, line 1
>>
>> pi
>
> Evidently, md5 gives different results than does md5sum. The
> difference might be the value computed or the formatting of the
> output. Running "head encoding.2050702/md5sum.*" will show what's
> expected and what you have.
md5 formats differently, say:
md5(filename) = 1234567890abcdef1234567890abcdef
--
Matthias Andree
More information about the Bogofilter
mailing list