From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 17 23:49:19 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8293D106564A for ; Tue, 17 Apr 2012 23:49:19 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id 3417C8FC0A for ; Tue, 17 Apr 2012 23:49:19 +0000 (UTC) Received: from server.mypc.hu (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id 4748E14E735E; Wed, 18 Apr 2012 01:49:11 +0200 (CEST) X-Virus-Scanned: amavisd-new at server.mypc.hu Received: from server.mypc.hu ([127.0.0.1]) by server.mypc.hu (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OxJ4xHSawSb8; Wed, 18 Apr 2012 01:49:10 +0200 (CEST) Received: from [192.168.1.117] (catv-80-98-232-12.catv.broadband.hu [80.98.232.12]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id E517514E7304; Wed, 18 Apr 2012 01:49:08 +0200 (CEST) Message-ID: <4F8E0163.9030009@FreeBSD.org> Date: Wed, 18 Apr 2012 01:48:51 +0200 From: Gabor Kovesdan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120328 Thunderbird/13.0a2 MIME-Version: 1.0 To: Matthew Story References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: bfiedler@asu.edu, freebsd-hackers@freebsd.org Subject: Re: Status of BSD Diff replacement? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2012 23:49:19 -0000 On 2012.04.17. 23:03, Matthew Story wrote: > Just wondering what the current status is on a BSD diff replacement. > The IdeasPage suggests that a goodly amount of work was done on this > for GSoC 2010 > (http://wiki.freebsd.org/IdeasPage#BSD-licensed_Text-Processing_Tools), but > the GPLinBase page says it's unowned and suggests replacement with > OpenBSD diff (http://wiki.freebsd.org/GPLinBase). Unless OpenBSD folks have changed or developed something, our incomplete BSD diff is OpenBSD diff + improvements. > > Wondering how much is outstanding on this, and where to start reading > to catch up on what's been done? I worked a bit on that in 2008 along with grep and sort but these got more priorities so lots of features are still missing. Then Ben Fiedler also worked on it in 2010 but I don't exactly know what he accomplished and whether he took my code or chose another way. So for someone who wants to work on it, first it should be checked what's done, maybe merge my version and Ben's version, check whether OpenBSD added something new or fixed somethings and then implement missing features and do lots of testing to ensure compatibility with GNU diff. And performance tests and improvements if necessary. I work on grep/regex related things and recently Oleg Moskalenko took over my incomplete BSD sort code but noone is working on BSD diff so any contribution is very welcome. Gabor