Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Nov 1999 18:13:16 +1000
From:      Stephen McKay <syssgm@detir.qld.gov.au>
To:        "David O'Brien" <obrien@NUXI.com>
Cc:        arch@freebsd.org, Brian Fundakowski Feldman <green@freebsd.org>, syssgm@detir.qld.gov.au
Subject:   Re: new MD5 option 
Message-ID:  <199911080813.SAA25572@nymph.detir.qld.gov.au>
In-Reply-To: <19991107223137.C29186@dragon.nuxi.com> from "David O'Brien" at "Sun, 07 Nov 1999 22:31:37 -0800"
References:  <19991107223137.C29186@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, 7th November 1999, "David O'Brien" wrote:

>> > I am adding an option to md5 to reverse the order of output.
>...
>> MD5 (foo) = 1bfe5d8702009e431bad3862b79f5d95
>> MD5 (quux) = 8687c409c3cc95464d49a7c4dff71e73
>> 
>> They're less lined up, but they look a lot better to a human than
>> 
>> 	MD5 1bfe5d8702009e431bad3862b79f5d95	foo
>> 	MD5 8687c409c3cc95464d49a7c4dff71e73	quux

BSDI use:

1bfe5d8702009e431bad3862b79f5d95 foo
8687c409c3cc95464d49a7c4dff71e73 quux

That is, `hash space name'.  No tabs.

I think that is neater, cleaner, and all round better.  I've always
disliked the extraneous junk that comes out of our md5.  Perhaps we
can just throw the old one away?

BTW, they also have a -q option to remove the file name from the output too,
leaving a bare md5 hash.  Useful.

>I often MD5 compare two files who's pathname lengths are
>*significantly* different from each other.  While my "-r" output isn't
>the most pretty, it is certainly easier for my eyes to run down the two
>hashes to see if they match, than when one starts in column 20 and the
>other in column 70.  Think comparing installed files with the live file
>system CDROM.

I do this sort of comparison all the time too.  The current md5 is inadequate.

>When I use the flag 80% of the time I use the program, it starts to
>become required in my eyes.

I hope there is some way to make the new behaviour the default.

Stephen.

PS Are we discussing this on -arch simply because -current is too noisy?




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911080813.SAA25572>