From owner-freebsd-arch@FreeBSD.ORG Fri Sep 17 19:59:19 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 B0C5F16A4CE; Fri, 17 Sep 2004 19:59:19 +0000 (GMT) Received: from smtp2.server.rpi.edu (smtp2.server.rpi.edu [128.113.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 643EB43D4C; Fri, 17 Sep 2004 19:59:19 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp2.server.rpi.edu (8.13.0/8.13.0) with ESMTP id i8HJxEF9020531; Fri, 17 Sep 2004 15:59:15 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20040917191240.GR36708@green.homeunix.org> References: <16715.4611.108597.354107@piglet.timing.com> <20040917.130549.22012205.imp@bsdimp.com> <20040917191240.GR36708@green.homeunix.org> Date: Fri, 17 Sep 2004 15:59:13 -0400 To: Brian Fundakowski Feldman , "M. Warner Losh" From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) 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:59:19 -0000 At 3:12 PM -0400 9/17/04, Brian Fundakowski Feldman wrote: >On Fri, Sep 17, 2004, M. Warner Losh wrote: > > >> 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. > >But seriously, is this better than ports/textproc/freegrep which >"should" have been the FreeBSD grep years ago? It's certainly better when it comes to doing diff's... :-) IIRC (and I may not), the main reason that grep isn't in the base system is that it was significantly slower in some situations. But my memory of that work is pretty fuzzy. In principle I think we should replace the grep, too, as long as the replacement works as well as the version we are currently using. The thing is, none of these replacements are "urgent" to get done, and they easily get forgotten about as more urgent projects pop up. [So says Garance, who is still trying to get around to replacing the `patch' in the base system with a BSD-licensed version...] -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu