From owner-freebsd-arch@FreeBSD.ORG Fri Sep 17 19:16:22 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 C4F7616A4CE for ; Fri, 17 Sep 2004 19:16:22 +0000 (GMT) Received: from green.homeunix.org (pcp04368961pcs.nrockv01.md.comcast.net [69.140.212.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EC8B43D48 for ; Fri, 17 Sep 2004 19:16:22 +0000 (GMT) (envelope-from green@green.homeunix.org) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.13.1/8.13.1) with ESMTP id i8HJGJ7N072963; Fri, 17 Sep 2004 15:16:19 -0400 (EDT) (envelope-from green@green.homeunix.org) Received: (from green@localhost) by green.homeunix.org (8.13.1/8.13.1/Submit) id i8HJGJHh072962; Fri, 17 Sep 2004 15:16:19 -0400 (EDT) (envelope-from green) Date: Fri, 17 Sep 2004 15:16:19 -0400 From: Brian Fundakowski Feldman To: "M. Warner Losh" Message-ID: <20040917191619.GS36708@green.homeunix.org> References: <16715.4611.108597.354107@piglet.timing.com> <20040917.130549.22012205.imp@bsdimp.com> <20040917191240.GR36708@green.homeunix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040917191240.GR36708@green.homeunix.org> User-Agent: Mutt/1.5.6i 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:16:22 -0000 On Fri, Sep 17, 2004 at 03:12:40PM -0400, Brian Fundakowski Feldman wrote: > On Fri, Sep 17, 2004 at 01:05:49PM -0600, M. Warner Losh wrote: > > 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. > > So if we get rid of three GNU, can we get one SCO (cscope)? http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/grep/ > But seriously, is this better than ports/textproc/freegrep which > "should" have been the FreeBSD grep years ago? P.S. Totally kicking myself for not noticing you didn't explicitly mention the OpenBSD grep among your short list of GNU programs. So anyway, OpenBSD diff, OpenBSD grep, didn't someone write a FreeBSD-destined sort(1), too? -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\