From owner-freebsd-questions@FreeBSD.ORG Fri Sep 14 19:16:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 22E371065687 for ; Fri, 14 Sep 2012 19:16:34 +0000 (UTC) (envelope-from vogelke@hcst.net) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id DCACD8FC1E for ; Fri, 14 Sep 2012 19:16:33 +0000 (UTC) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8EJGWYC002706 for ; Fri, 14 Sep 2012 15:16:32 -0400 Received: (from vogelke@localhost) by beta.hcst.com (8.14.3/8.14.3/Submit) id q8EJGWH9002705; Fri, 14 Sep 2012 15:16:32 -0400 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id F37D3BEA8; Fri, 14 Sep 2012 15:15:50 -0400 (EDT) To: freebsd-questions@freebsd.org In-reply-to: <20120914033522.GA95427@neutralgood.org> (kpneal@pobox.com) Organization: Array Infotech X-Disclaimer: I don't speak for the USAF or Array Infotech. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 References: <20120913191844.1C07FBEA7@kev.msw.wpafb.af.mil> <20120914033522.GA95427@neutralgood.org> Message-Id: <20120914191550.F37D3BEA8@kev.msw.wpafb.af.mil> Date: Fri, 14 Sep 2012 15:15:50 -0400 (EDT) From: vogelke+freebsd@pobox.com (Karl Vogel) Subject: Re: cksum entire dir?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+freebsd@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2012 19:16:34 -0000 >> On Thu, 13 Sep 2012 23:35:22 -0400, kpneal@pobox.com said: K> But in both your and my code the uniq will frequently fail because the K> input is not sorted. No, check the first command: me% find . -type f -print0 | xargs -0 md5 -r | sort >> /tmp/sig1 ^^^^ -- Karl Vogel I don't speak for the USAF or my company When I'm feeling down, I like to whistle. It makes the neighbor's dog run to the end of his chain and gag himself.