From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 22 12:54:01 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F25937B401 for ; Sun, 22 Jun 2003 12:54:01 -0700 (PDT) Received: from mail.farley.org (adsl-67-64-95-201.dsl.austtx.swbell.net [67.64.95.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84EBD43F75 for ; Sun, 22 Jun 2003 12:54:00 -0700 (PDT) (envelope-from sean-freebsd@farley.org) Received: from thor.farley.org (uewfedbkn6nkr7k5@thor.farley.org [IPv6:2002:4340:5fc9::5]) by mail.farley.org (8.12.9/8.12.9) with ESMTP id h5MJrxMp017027 for ; Sun, 22 Jun 2003 14:53:59 -0500 (CDT) (envelope-from sean-freebsd@farley.org) Received: from thor.farley.org (localhost [127.0.0.1]) by thor.farley.org (8.12.9/8.12.9) with ESMTP id h5MJrxPC036420 for ; Sun, 22 Jun 2003 14:53:59 -0500 (CDT) (envelope-from sean-freebsd@farley.org) Received: from localhost (sean@localhost)h5MJrw6T036417 for ; Sun, 22 Jun 2003 14:53:59 -0500 (CDT) (envelope-from sean-freebsd@farley.org) X-Authentication-Warning: thor.farley.org: sean owned process doing -bs Date: Sun, 22 Jun 2003 14:53:58 -0500 (CDT) From: Sean Farley X-X-Sender: sean@thor.farley.org To: freebsd-hackers@FreeBSD.ORG In-Reply-To: Message-ID: <20030622144708.K36267@thor.farley.org> References: <20030621103502.K18572@thor.farley.org> <20030622005852.GB59673@HAL9000.homeunix.com> <20030622092848.R28123@thor.farley.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Subject: Re: Replacing GNU grep revisited X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2003 19:54:01 -0000 On Sun, 22 Jun 2003, Dag-Erling Sm=F8rgrav wrote: > Unfortunately, FreeGrep has annoying bugs as well. For instance, it > tries to grep the directories themselves (rather than just their > contents) when recursing, while GNU grep only greps directories if > they are explicitly listed on the command line. It was the first thing I fixed. :) > Furthermore, GNU grep will not by default show the contents of what it > considers to be a binary file (such as a directory) while FreeGrep > does (causing broken ttys and much gnashing of teeth). Yes, the -a option is reversed between GNU and FreeGrep. Sean ----------------------- sean-freebsd@farley.org