Paul Eggert <eggert@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 24 Jul 2014 14:44:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 24 10:44:46 2014 Received: from localhost ([127.0.0.1]:36835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1XAKGD-0007Tx-Kz for submit <at> debbugs.gnu.org; Thu, 24 Jul 2014 10:44:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50645) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <eggert@HIDDEN>) id 1XAKGB-0007Tj-G9 for submit <at> debbugs.gnu.org; Thu, 24 Jul 2014 10:44:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eggert@HIDDEN>) id 1XAKFz-0003Rz-IC for submit <at> debbugs.gnu.org; Thu, 24 Jul 2014 10:44:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eggert@HIDDEN>) id 1XAKFz-0003Rv-FR for submit <at> debbugs.gnu.org; Thu, 24 Jul 2014 10:44:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <eggert@HIDDEN>) id 1XAKFt-0003CJ-Ac for bug-grep@HIDDEN; Thu, 24 Jul 2014 10:44:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eggert@HIDDEN>) id 1XAKFn-0003Q0-Dq for bug-grep@HIDDEN; Thu, 24 Jul 2014 10:44:25 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:42577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eggert@HIDDEN>) id 1XAKFn-0003Pu-8F for bug-grep@HIDDEN; Thu, 24 Jul 2014 10:44:19 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id CA928A6000E; Thu, 24 Jul 2014 07:44:17 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0GdioCVK-vQZ; Thu, 24 Jul 2014 07:44:13 -0700 (PDT) Received: from [192.168.33.141] (cpe-74-78-161-130.twcny.res.rr.com [74.78.161.130]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 60721A60011; Thu, 24 Jul 2014 07:44:12 -0700 (PDT) Message-ID: <53D11BB9.1080708@HIDDEN> Date: Thu, 24 Jul 2014 10:44:09 -0400 From: Paul Eggert <eggert@HIDDEN> User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: bug-grep@HIDDEN, Markus Jochim <ich@HIDDEN>, Kevin Brubeck Unhammer <unhammer@HIDDEN>, kasal@HIDDEN Subject: -m breaks -A References: <20100113-105250.sv76911.63365@HIDDEN> <20100206-133604.sv133.22513@HIDDEN> <20140724-073112.sv81399.63985@HIDDEN> In-Reply-To: <20140724-073112.sv81399.63985@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.0 (----) -m is documented to exclude later matching lines from context, but this is nonintuitive and perhaps it should be fixed to not do that. This was reported on Savannah a while ago; I'm sending this to bug-grep so that it gets a proper bug number. Please see: http://savannah.gnu.org/bugs/?28588 for the original bug report, and: http://lists.gnu.org/archive/html/bug-grep/2010-02/msg00002.html for Jim Meyering's thoughts about a fix.
Paul Eggert <eggert@HIDDEN>
:bug-grep@HIDDEN
.
Full text available.bug-grep@HIDDEN
:bug#18097
; Package grep
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.