From owner-freebsd-current@FreeBSD.ORG Sun Feb 15 05:43:42 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 8B5B016A4CE for ; Sun, 15 Feb 2004 05:43:42 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC6CF43D1F for ; Sun, 15 Feb 2004 05:43:41 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.10/8.12.10) with ESMTP id i1FDheMO006390; Sun, 15 Feb 2004 16:43:40 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.10/8.12.10/Submit) id i1FDhdXc006385; Sun, 15 Feb 2004 16:43:39 +0300 (MSK) (envelope-from ache) Date: Sun, 15 Feb 2004 16:43:38 +0300 From: Andrey Chernov To: Steve Young , freebsd-current@FreeBSD.ORG Message-ID: <20040215134338.GA6278@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Steve Young , freebsd-current@FreeBSD.ORG References: <200402090704.i1974IVa032065@the-macgregors.org> <20040214034523.B254E43D1F@mx1.FreeBSD.org> <7A65C36B-5EF4-11D8-9690-0003939C3B2E@vt220.org> <20040214150200.GA75194@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040214150200.GA75194@nagual.pp.ru> User-Agent: Mutt/1.5.5.1i Subject: Re: grep bug X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2004 13:43:42 -0000 On Sat, Feb 14, 2004 at 06:02:00PM +0300, Andrey Chernov wrote: > On Sat, Feb 14, 2004 at 06:48:32AM -0700, Steve Young wrote: > > It seems FreeBSD ships with grep 2.4d. In newer versions it looks > > like there > > is a -D argument you can use to tell it how to handle devices - -Dskip > > will skip > > them and avoid this problem when doing grep -r /. > > I'll take grep upgrade to 2.5 Hmm. I found that 2.5 is too early bird, it even not pass its own tests suite. I attempt to fix the test fails, but broke other test. Since the matter is too complex (how grep/egrep/fgrep should do to satisfy both tradition usage and POSIX), we'll better wait until 2.5.1 or something like when it will become self-consistent. Meanwhile I'll probably import 2.4.2 while I already in there (no -D yet). -- Andrey Chernov | http://ache.pp.ru/