From owner-freebsd-current@FreeBSD.ORG Wed Jul 28 15:48:31 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08BC31065674; Wed, 28 Jul 2010 15:48:31 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id BDE388FC14; Wed, 28 Jul 2010 15:48:30 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id C51F21FFC34; Wed, 28 Jul 2010 15:48:29 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 990D88457A; Wed, 28 Jul 2010 17:48:29 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Gabor Kovesdan References: <4C5040E8.3050304@FreeBSD.org> <4C504DEA.9070405@FreeBSD.org> Date: Wed, 28 Jul 2010 17:48:29 +0200 In-Reply-To: <4C504DEA.9070405@FreeBSD.org> (Gabor Kovesdan's message of "Wed, 28 Jul 2010 17:34:02 +0200") Message-ID: <86wrsfk3oy.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@FreeBSD.org, "b. f." Subject: Re: BSD grep fixes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 28 Jul 2010 15:48:31 -0000 Gabor Kovesdan writes: > b. f. writes: > > I don't think that the current behavior of bsdgrep is necessarily bad > > -- in fact it seems to me to be simple and intuitive: nothing is > > excluded or included implicitly, and (I think) the last match wins, > > unlike in gnu grep. > Ok, thanks, then I'll just document it. Uh, no. GNU grep's behavior is consistent with just about everything else that has --include / --exclude options, e.g. tar and rsync. Please change BSD grep's behavior to match GNU grep's. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no