From owner-freebsd-arch Sun Nov 7 22:31:52 1999 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id 6592A14E4D for ; Sun, 7 Nov 1999 22:31:49 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id HAA13521 for ; Mon, 8 Nov 1999 07:31:45 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id HAA20031 for freebsd-arch@freebsd.org; Mon, 8 Nov 1999 07:31:43 +0100 (MET) Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 7D13114E4D; Sun, 7 Nov 1999 22:31:38 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (root@d60-025.leach.ucdavis.edu [169.237.60.25]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id WAA38856; Sun, 7 Nov 1999 22:31:37 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id WAA62460; Sun, 7 Nov 1999 22:31:37 -0800 (PST) (envelope-from obrien) Date: Sun, 7 Nov 1999 22:31:37 -0800 From: "David O'Brien" To: Brian Fundakowski Feldman Cc: arch@freebsd.org Subject: Re: new MD5 option Message-ID: <19991107223137.C29186@dragon.nuxi.com> Reply-To: obrien@NUXI.com References: <19991106133558.A5539@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from green@FreeBSD.org on Sat, Nov 06, 1999 at 05:57:33PM -0500 X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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 Your opinion. 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. > If for some reason we _really_ need this, what's wrong with a shell > transformation instead: Because I don't want to have to install such a shell script on every machine. Unless of course I commit the shell script. > What good is all the convenience we have available to reduce bloat > if we never use it for anything? When I use the flag 80% of the time I use the program, it starts to become required in my eyes. -- -- David (obrien@NUXI.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message