[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: md5.c patch - recognize GNU checksum format
At 3:03 PM -0500 3/2/04, Lawrence Teo wrote:
>Here's a simple patch to make md5/sha1's -c flag recognize GNU's
>checksum format. Unlike BSD, GNU's checksums use the form:
>
> CHECKSUM FILENAME
>
>For example, a GNU MD5 line may look like:
>
> e25bd1eead91463817c3d98b60d64c62 somefile.txt
>
>This patch would make it easier for OpenBSD admins/users to
>verify MD5 checksum lists that are frequently distributed
>using the GNU MD5 format.
Fwiw, 'md5' in FreeBSD has a -r option, which writes out MD5
checksums in the format you're seeing from GNU's MD5. (not that
you need to care about that. I just thought I'd mention it).
--
Garance Alistair Drosehn = gad@gilead.netel.rpi.edu
Senior Systems Programmer or gad@freebsd.org
Rensselaer Polytechnic Institute or drosih@rpi.edu