From owner-freebsd-current@FreeBSD.ORG Sat May 1 17:28:44 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D832616A4CE for ; Sat, 1 May 2004 17:28:44 -0700 (PDT) Received: from TRANG.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F3A843D2F for ; Sat, 1 May 2004 17:28:44 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by TRANG.nuxi.com (8.12.11/8.12.10) with ESMTP id i420Sc6V006996; Sat, 1 May 2004 17:28:39 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.11/8.12.11/Submit) id i420SWPF006989; Sat, 1 May 2004 17:28:32 -0700 (PDT) (envelope-from obrien) Date: Sat, 1 May 2004 17:28:32 -0700 From: "David O'Brien" To: Bruce Evans Message-ID: <20040502002832.GA6623@dragon.nuxi.com> References: <200404291855.i3TItUTr048530@green.homeunix.org> <20040429215236.GA42902@xor.obsecurity.org> <20040430231553.X15963@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040430231553.X15963@gamplex.bde.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: Julian Elischer cc: freebsd-current@freebsd.org cc: Alex Lyashkov cc: Kris Kennaway Subject: Re: code cleanup X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2004 00:28:45 -0000 On Fri, Apr 30, 2004 at 11:28:09PM +1000, Bruce Evans wrote: > so I don't have any object files under /sys to slow down the search, > except grep -r would follow this symlink too. > > Perhaps it is a bug for grep -r to follow symlinks by default, especially > since there is no way to change the default and whether symlinks are > followed is not mentioned in the man page. '-R' is an undocumented alias for '-r'. Perhaps we could turn '-R' into '-r' but not following symlinks. -- -- David (obrien@FreeBSD.org)