nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] MD5FMT

2013-01-31 08:42:29
On FreeBSD and MacOS 10.6, md5 produces:

MD5 (README) = 594d19e333c06370c49afaa1f8d21c93

which when run through the default MD5FMT sed transformation gives:

594d19e333c06370c49afaa1f8d21c93  README

which seems wrong according to the comments in output_md5() (test/common.sh).

Hrm.  That test succeeds for me on MacOS X (that's why I did MD5FMT stuff
in the first place).

The trouble with cut is that it only supports one delimiter. Apparently
there's a SP vs. TAB inconsistency between various md5(1)
implementations.

Ah, okay, I guess I didn't realize there was a TAB used in other md5
implementations.

See now why I wanted to get rid of that MD5 code? :-)

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>