From owner-freebsd-questions@FreeBSD.ORG Fri Nov 4 15:56:24 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B88116A41F for ; Fri, 4 Nov 2005 15:56:24 +0000 (GMT) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23A1A43D45 for ; Fri, 4 Nov 2005 15:56:23 +0000 (GMT) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id BBD2C21CD0C for ; Fri, 4 Nov 2005 09:56:22 -0600 (CST) Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 40624-01 for ; Fri, 4 Nov 2005 09:56:22 -0600 (CST) Received: from janus.daycos.com (janus.daycos.com [204.26.70.77]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTP id CE4DE21CA8E for ; Fri, 4 Nov 2005 09:56:20 -0600 (CST) From: Kirk Strauser To: freebsd-questions@freebsd.org Date: Fri, 4 Nov 2005 09:56:17 -0600 User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511040956.19087.kirk@strauser.com> X-Virus-Scanned: amavisd-new at honeypot.net Subject: Fast diff command for large files? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 15:56:24 -0000 I need to routinely find the diffs between two multigigabyte text files (exporting a set of FoxPro tables to a PostgreSQL database without doing a complete dump/reload each time, in case you were wondering). GNU diff from the base system and from ports chokes. The textproc/2bsd-diff works OK, but is glacially slow. I'm basically looking for something that generates easily-parseable text. Since this is a young project, I don't particularly care if the output format is different from diff's. Any suggestions? -- Kirk Strauser