From owner-freebsd-arch@FreeBSD.ORG Fri Sep 17 19:05:17 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0697E16A4CE for ; Fri, 17 Sep 2004 19:05:17 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 992D643D49 for ; Fri, 17 Sep 2004 19:05:16 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id i8HJ4wBM020015; Fri, 17 Sep 2004 13:04:59 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 17 Sep 2004 13:05:49 -0600 (MDT) Message-Id: <20040917.130549.22012205.imp@bsdimp.com> To: ben@timing.com From: "M. Warner Losh" In-Reply-To: <16715.4611.108597.354107@piglet.timing.com> References: <16715.4611.108597.354107@piglet.timing.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-arch@freebsd.org Subject: Re: diff(1) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2004 19:05:17 -0000 In message: <16715.4611.108597.354107@piglet.timing.com> Ben Mesander writes: : I've recently done a port of OpenBSD diff(1) to FreeBSD for : licensing reasons (the diff(1) in base FreeBSD is GPL licensed), : OpenBSD has a BSD-style license). : : I was going to work with Warner to see if I could get this into : the ports collection. But we were also curious to see if other : people thought it might be OK to replace the GNU diff in base : with the OpenBSD diff. : : For reference, here is the OpenBSD diff source and manpage: : http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/diff/ : : There would also have to be some integration with other programs : (such as diff3(1)). Needless to say, I think this is an excellent idea. I'm happy to do the leg work to get this into the tree, so that's not an issue. :-) OpenBSD's diff is much smaller than gnu's. It seems to use less memory as well for many operations. Its speed seems about the same. Most of these impressions are based on light testing, so YMMV. This would be in keeping with our march to get rid of other gnu products in our tree: awk, sort, etc. Warner