From unknown Thu Aug 21 14:54:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#16723: Bug using -A and -v at least in 2.14 of grep !? Resent-From: "NICOLAI, Volker (AKKA IS)" Original-Sender: "Debbugs-submit" Resent-CC: bug-grep@gnu.org Resent-Date: Tue, 11 Feb 2014 16:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16723 X-GNU-PR-Package: grep X-GNU-PR-Keywords: To: 16723@debbugs.gnu.org X-Debbugs-Original-To: "bug-grep@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.139213721427048 (code B ref -1); Tue, 11 Feb 2014 16:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Feb 2014 16:46:54 +0000 Received: from localhost ([127.0.0.1]:47671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDGU0-000729-E6 for submit@debbugs.gnu.org; Tue, 11 Feb 2014 11:46:53 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55379) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDE5s-00019L-9J for submit@debbugs.gnu.org; Tue, 11 Feb 2014 09:13:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDE5d-0003XU-2I for submit@debbugs.gnu.org; Tue, 11 Feb 2014 09:13:42 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_50,HTML_MESSAGE, PLING_QUERY autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDE5c-0003XO-VI for submit@debbugs.gnu.org; Tue, 11 Feb 2014 09:13:32 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDE5U-00040S-Rm for bug-grep@gnu.org; Tue, 11 Feb 2014 09:13:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDE5M-0003SH-NT for bug-grep@gnu.org; Tue, 11 Feb 2014 09:13:24 -0500 Received: from airbus-sf4.airbus.gmessaging.net ([81.252.56.12]:57910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDE5M-0003Rw-As for bug-grep@gnu.org; Tue, 11 Feb 2014 09:13:16 -0500 Received: from airbus-sf4.airbus.gmessaging.net (localhost.localdomain [127.0.0.1]) by localhost.airbus.gmessaging.net (Postfix) with SMTP id 2EE49164C3C5 for ; Tue, 11 Feb 2014 15:13:14 +0100 (CET) Received: from de0-mailhub-p12.res.airbus.corp (dhcp-44-225-3-154.db0fhn.ampr.org [44.225.3.154]) by airbus-sf4.airbus.gmessaging.net (Postfix) with ESMTP id DD246164C3AF for ; Tue, 11 Feb 2014 15:13:13 +0100 (CET) Received: from DE0-MAILMBX-P15.res.airbus.corp ([44.225.0.172]) by de0-mailhub-p12.res.airbus.corp ([44.225.3.154]) with mapi; Tue, 11 Feb 2014 15:13:13 +0100 From: "NICOLAI, Volker (AKKA IS)" Date: Tue, 11 Feb 2014 15:13:12 +0100 Thread-Topic: Bug using -A and -v at least in 2.14 of grep !? Thread-Index: Ac8nMzGto6TloS8qTz+Y87+BBwVB7A== Message-ID: <1240_1392127994_52FA2FFA_1240_5059_1_BFD060274D939643988A30233DFD49C524D8DFEC02@DE0-MAILMBX-P15.res.airbus.corp> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: multipart/alternative; boundary="_000_BFD060274D939643988A30233DFD49C524D8DFEC02DE0MAILMBXP15_" MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (barebone) [generic] 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.7 (----) X-Mailman-Approved-At: Tue, 11 Feb 2014 11:46:50 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.7 (----) --_000_BFD060274D939643988A30233DFD49C524D8DFEC02DE0MAILMBXP15_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I tried to filter 3 repeating lines out of XML file. The first line contain= s "stylesheet". The command I used is: grep -v -A 2 stylesheet FILENAME The search without the -v works filtering out the 3 expected lines but the = above command line does not work. I would call that a bug - you too? Looked into you reported bug, nothing there so I suspect 2.16. still hasn't= changed here and I save my time triying. Regards Volker The information in this e-mail is confidential. The contents may not be dis= closed or used by anyone other than the addressee. Access to this e-mail by= anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and= delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of= this e-mail as it has been sent over public networks. If you have any conc= erns over the content of this message or its Accuracy or Integrity, please = contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus = scanning software but you should take whatever measures you deem to be appr= opriate to ensure that this message and any attachments are virus free. --_000_BFD060274D939643988A30233DFD49C524D8DFEC02DE0MAILMBXP15_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,=

I tried to filter 3 repeating lines out= of XML file. The first line contains “stylesheet”.<= /span>

The command I used is: grep –v = 211;A 2 stylesheet FILENAME

T= he search without the –v works filtering out the 3 expected lines but= the above command line does not work.

I would call that a bug – you too?

Looked into you reported bug, nothing there so I susp= ect 2.16. still hasn’t changed here and I save my time triying.<= /o:p>

Regards

Volker

 

The information in this=
 e-mail is confidential. The contents may not be disclosed or used by anyon=
e other than the addressee. Access to this e-mail by anyone else is unautho=
rised.
If you are not the intended recipient, please notify Airbus immediately and=
 delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of=
 this e-mail as it has been sent over public networks. If you have any conc=
erns over the content of this message or its Accuracy or Integrity, please =
contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus =
scanning software but you should take whatever measures you deem to be appr=
opriate to ensure that this message and any attachments are virus free.
= --_000_BFD060274D939643988A30233DFD49C524D8DFEC02DE0MAILMBXP15_-- From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 08 18:10:28 2014 Received: (at control) by debbugs.gnu.org; 8 Mar 2014 23:10:28 +0000 Received: from localhost ([127.0.0.1]:57093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMQNu-0005ep-Sq for submit@debbugs.gnu.org; Sat, 08 Mar 2014 18:10:27 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:48703) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMQNs-0005ec-IX for control@debbugs.gnu.org; Sat, 08 Mar 2014 18:10:25 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 2428B39E8014 for ; Sat, 8 Mar 2014 15:10:24 -0800 (PST) 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 6ysyWiiyo-XY for ; Sat, 8 Mar 2014 15:10:23 -0800 (PST) Received: from [192.168.1.9] (pool-108-0-233-62.lsanca.fios.verizon.net [108.0.233.62]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id D6DA939E8011 for ; Sat, 8 Mar 2014 15:10:23 -0800 (PST) Message-ID: <531BA35F.4010306@cs.ucla.edu> Date: Sat, 08 Mar 2014 15:10:23 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: 16723 is not a bug Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) tags 16723 notabug thanks From unknown Thu Aug 21 14:54:23 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "NICOLAI, Volker (AKKA IS)" Subject: bug#16723: closed (Re: Bug using -A and -v at least in 2.14 of grep !?) Message-ID: References: <531BA409.8070901@cs.ucla.edu> <1240_1392127994_52FA2FFA_1240_5059_1_BFD060274D939643988A30233DFD49C524D8DFEC02@DE0-MAILMBX-P15.res.airbus.corp> X-Gnu-PR-Message: they-closed 16723 X-Gnu-PR-Package: grep X-Gnu-PR-Keywords: notabug Reply-To: 16723@debbugs.gnu.org Date: Sat, 08 Mar 2014 23:14:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1394320442-22182-1" This is a multi-part message in MIME format... ------------=_1394320442-22182-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #16723: Bug using -A and -v at least in 2.14 of grep !? which was filed against the grep package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 16723@debbugs.gnu.org. --=20 16723: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D16723 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1394320442-22182-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 16723-done) by debbugs.gnu.org; 8 Mar 2014 23:13:16 +0000 Received: from localhost ([127.0.0.1]:57098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMQQe-0005kI-8H for submit@debbugs.gnu.org; Sat, 08 Mar 2014 18:13:16 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:48787) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMQQc-0005k9-4o for 16723-done@debbugs.gnu.org; Sat, 08 Mar 2014 18:13:14 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id CF90C39E8011 for <16723-done@debbugs.gnu.org>; Sat, 8 Mar 2014 15:13:13 -0800 (PST) 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 531NvOKMYu+u for <16723-done@debbugs.gnu.org>; Sat, 8 Mar 2014 15:13:13 -0800 (PST) Received: from [192.168.1.9] (pool-108-0-233-62.lsanca.fios.verizon.net [108.0.233.62]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 9F39C39E8008 for <16723-done@debbugs.gnu.org>; Sat, 8 Mar 2014 15:13:13 -0800 (PST) Message-ID: <531BA409.8070901@cs.ucla.edu> Date: Sat, 08 Mar 2014 15:13:13 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: 16723-done@debbugs.gnu.org Subject: Re: Bug using -A and -v at least in 2.14 of grep !? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 16723-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.0 (--) Sorry, I don't see a bug here. grep -v PAT matches all lines that do not match PAT. If a line doesn't contain the word 'stylesheet', 'grep -v stylesheet' will match the line even if it is adjacent to a line that does contain 'stylesheet', and -A 2 will then print the adjacent line. ------------=_1394320442-22182-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Feb 2014 16:46:54 +0000 Received: from localhost ([127.0.0.1]:47671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDGU0-000729-E6 for submit@debbugs.gnu.org; Tue, 11 Feb 2014 11:46:53 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55379) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDE5s-00019L-9J for submit@debbugs.gnu.org; Tue, 11 Feb 2014 09:13:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDE5d-0003XU-2I for submit@debbugs.gnu.org; Tue, 11 Feb 2014 09:13:42 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_50,HTML_MESSAGE, PLING_QUERY autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDE5c-0003XO-VI for submit@debbugs.gnu.org; Tue, 11 Feb 2014 09:13:32 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDE5U-00040S-Rm for bug-grep@gnu.org; Tue, 11 Feb 2014 09:13:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDE5M-0003SH-NT for bug-grep@gnu.org; Tue, 11 Feb 2014 09:13:24 -0500 Received: from airbus-sf4.airbus.gmessaging.net ([81.252.56.12]:57910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDE5M-0003Rw-As for bug-grep@gnu.org; Tue, 11 Feb 2014 09:13:16 -0500 Received: from airbus-sf4.airbus.gmessaging.net (localhost.localdomain [127.0.0.1]) by localhost.airbus.gmessaging.net (Postfix) with SMTP id 2EE49164C3C5 for ; Tue, 11 Feb 2014 15:13:14 +0100 (CET) Received: from de0-mailhub-p12.res.airbus.corp (dhcp-44-225-3-154.db0fhn.ampr.org [44.225.3.154]) by airbus-sf4.airbus.gmessaging.net (Postfix) with ESMTP id DD246164C3AF for ; Tue, 11 Feb 2014 15:13:13 +0100 (CET) Received: from DE0-MAILMBX-P15.res.airbus.corp ([44.225.0.172]) by de0-mailhub-p12.res.airbus.corp ([44.225.3.154]) with mapi; Tue, 11 Feb 2014 15:13:13 +0100 From: "NICOLAI, Volker (AKKA IS)" To: "bug-grep@gnu.org" Date: Tue, 11 Feb 2014 15:13:12 +0100 Subject: Bug using -A and -v at least in 2.14 of grep !? Thread-Topic: Bug using -A and -v at least in 2.14 of grep !? Thread-Index: Ac8nMzGto6TloS8qTz+Y87+BBwVB7A== Message-ID: <1240_1392127994_52FA2FFA_1240_5059_1_BFD060274D939643988A30233DFD49C524D8DFEC02@DE0-MAILMBX-P15.res.airbus.corp> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: multipart/alternative; boundary="_000_BFD060274D939643988A30233DFD49C524D8DFEC02DE0MAILMBXP15_" MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (barebone) [generic] 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.7 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 11 Feb 2014 11:46:50 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.7 (----) --_000_BFD060274D939643988A30233DFD49C524D8DFEC02DE0MAILMBXP15_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I tried to filter 3 repeating lines out of XML file. The first line contain= s "stylesheet". The command I used is: grep -v -A 2 stylesheet FILENAME The search without the -v works filtering out the 3 expected lines but the = above command line does not work. I would call that a bug - you too? Looked into you reported bug, nothing there so I suspect 2.16. still hasn't= changed here and I save my time triying. Regards Volker The information in this e-mail is confidential. The contents may not be dis= closed or used by anyone other than the addressee. Access to this e-mail by= anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and= delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of= this e-mail as it has been sent over public networks. If you have any conc= erns over the content of this message or its Accuracy or Integrity, please = contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus = scanning software but you should take whatever measures you deem to be appr= opriate to ensure that this message and any attachments are virus free. --_000_BFD060274D939643988A30233DFD49C524D8DFEC02DE0MAILMBXP15_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,=

I tried to filter 3 repeating lines out= of XML file. The first line contains “stylesheet”.<= /span>

The command I used is: grep –v = 211;A 2 stylesheet FILENAME

T= he search without the –v works filtering out the 3 expected lines but= the above command line does not work.

I would call that a bug – you too?

Looked into you reported bug, nothing there so I susp= ect 2.16. still hasn’t changed here and I save my time triying.<= /o:p>

Regards

Volker

 

The information in this=
 e-mail is confidential. The contents may not be disclosed or used by anyon=
e other than the addressee. Access to this e-mail by anyone else is unautho=
rised.
If you are not the intended recipient, please notify Airbus immediately and=
 delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of=
 this e-mail as it has been sent over public networks. If you have any conc=
erns over the content of this message or its Accuracy or Integrity, please =
contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus =
scanning software but you should take whatever measures you deem to be appr=
opriate to ensure that this message and any attachments are virus free.
= --_000_BFD060274D939643988A30233DFD49C524D8DFEC02DE0MAILMBXP15_-- ------------=_1394320442-22182-1-- From unknown Thu Aug 21 14:54:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#16723: AW: bug#16723: closed (Re: Bug using -A and -v at least in 2.14 of grep !?) Resent-From: "NICOLAI, Volker (AKKA IS)" Original-Sender: "Debbugs-submit" Resent-CC: bug-grep@gnu.org Resent-Date: Mon, 10 Mar 2014 07:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16723 X-GNU-PR-Package: grep X-GNU-PR-Keywords: notabug To: "16723@debbugs.gnu.org" <16723@debbugs.gnu.org> Received: via spool by 16723-submit@debbugs.gnu.org id=B16723.1394435469519 (code B ref 16723); Mon, 10 Mar 2014 07:12:02 +0000 Received: (at 16723) by debbugs.gnu.org; 10 Mar 2014 07:11:09 +0000 Received: from localhost ([127.0.0.1]:58658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMuMe-00008H-1X for submit@debbugs.gnu.org; Mon, 10 Mar 2014 03:11:08 -0400 Received: from airbus-sf4.airbus.gmessaging.net ([81.252.56.12]:40633) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMuMZ-000086-Sc for 16723@debbugs.gnu.org; Mon, 10 Mar 2014 03:11:04 -0400 Received: from airbus-sf4.airbus.gmessaging.net (localhost.localdomain [127.0.0.1]) by localhost.airbus.gmessaging.net (Postfix) with SMTP id A2D0F164C2FA for <16723@debbugs.gnu.org>; Mon, 10 Mar 2014 08:11:02 +0100 (CET) Received: from de0-mailhub-p06.res.airbus.corp (unknown [44.225.0.164]) by airbus-sf4.airbus.gmessaging.net (Postfix) with ESMTP id 726B0164C552 for <16723@debbugs.gnu.org>; Mon, 10 Mar 2014 08:11:02 +0100 (CET) Received: from DE0-MAILMBX-P15.res.airbus.corp ([44.225.0.161]) by de0-mailhub-p06.res.airbus.corp ([44.225.0.164]) with mapi; Mon, 10 Mar 2014 08:11:02 +0100 From: "NICOLAI, Volker (AKKA IS)" Date: Mon, 10 Mar 2014 08:11:00 +0100 Thread-Topic: bug#16723: closed (Re: Bug using -A and -v at least in 2.14 of grep !?) Thread-Index: Ac87JBor7kEOvSgqSyab//rIrS+NeABCoTlQ Message-ID: <15006_1394435462_531D6586_15006_399_1_BFD060274D939643988A30233DFD49C524F1EF550B@DE0-MAILMBX-P15.res.airbus.corp> References: <531BA409.8070901@cs.ucla.edu> <1240_1392127994_52FA2FFA_1240_5059_1_BFD060274D939643988A30233DFD49C524D8DFEC02@DE0-MAILMBX-P15.res.airbus.corp> <19905_1394320445_531BA43D_19905_477_1_handler.16723.D16723.139432039622094.notifdone@debbugs.gnu.org> In-Reply-To: <19905_1394320445_531BA43D_19905_477_1_handler.16723.D16723.139432039622094.notifdone@debbugs.gnu.org> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Spam-Score: -4.7 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.7 (----) SSBhZ3JlZSwgUGF1bCwgd2UgY291bGQgYXJndWUgb24gd2hhdCBpcyB0aGUgcmlnaHQgYmVoYXZp b3IsIGJ1dCB0byBtYWtlIGl0IGNsZWFyZXIgKGJlY2F1c2UgSSBtaWdodCBoYXZlIGJlZW4gYSBi aXQgbWlzbGVhZGlu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1 cyBjYW5ub3QgYWNjZXB0IGFueSByZXNwb25zaWJpbGl0eSBmb3IgdGhlIGFjY3VyYWN5IG9yIGNv bXBsZXRlbmVzcyBvZiB0aGlzIGUtbWFpbCBhcyBpdCBoYXMgYmVlbiBzZW50IG92ZXIgcHVibGlj IG5ldHdvcmtzLiBJZiB5b3UgaGF2ZSBhbnkgY29uY2VybnMgb3ZlciB0aGUgY29udGVudCBvZiB0 aGlzIG1lc3NhZ2Ugb3IgaXRzIEFjY3VyYWN5IG9yIEludGVncml0eSwgcGxlYXNlIGNvbnRhY3Qg QWlyYnVzIGltbWVkaWF0ZWx5LgpBbGwgb3V0Z29pbmcgZS1tYWlscyBmcm9tIEFpcmJ1cyBhcmUg Y2hlY2tlZCB1c2luZyByZWd1bGFybHkgdXBkYXRlZCB2aXJ1cyBzY2FubmluZyBzb2Z0d2FyZSBi dXQgeW91IHNob3VsZCB0YWtlIHdoYXRldmVyIG1lYXN1cmVzIHlvdSBkZWVtIHRvIGJlIGFwcHJv cHJpYXRlIHRvIGVuc3VyZSB0aGF0IHRoaXMgbWVzc2FnZSBhbmQgYW55IGF0dGFjaG1lbnRzIGFy ZSB2aXJ1cyBmcmVlLgoK From unknown Thu Aug 21 14:54:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#16723: AW: bug#16723: closed (Re: Bug using -A and -v at least in 2.14 of grep !?) Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-grep@gnu.org Resent-Date: Mon, 10 Mar 2014 07:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16723 X-GNU-PR-Package: grep X-GNU-PR-Keywords: notabug To: "NICOLAI, Volker (AKKA IS)" , "16723@debbugs.gnu.org" <16723@debbugs.gnu.org> Received: via spool by 16723-submit@debbugs.gnu.org id=B16723.13944373554200 (code B ref 16723); Mon, 10 Mar 2014 07:43:01 +0000 Received: (at 16723) by debbugs.gnu.org; 10 Mar 2014 07:42:35 +0000 Received: from localhost ([127.0.0.1]:58670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMur3-00015b-Mk for submit@debbugs.gnu.org; Mon, 10 Mar 2014 03:42:34 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:49338) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMur0-00015S-Na for 16723@debbugs.gnu.org; Mon, 10 Mar 2014 03:42:31 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id CC95C39E8013; Mon, 10 Mar 2014 00:42:29 -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 CquI3GZ0P3sI; Mon, 10 Mar 2014 00:42:29 -0700 (PDT) Received: from [192.168.1.9] (pool-108-0-233-62.lsanca.fios.verizon.net [108.0.233.62]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 8E1C739E8011; Mon, 10 Mar 2014 00:42:29 -0700 (PDT) Message-ID: <531D6CE1.3000202@cs.ucla.edu> Date: Mon, 10 Mar 2014 00:42:25 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 References: <531BA409.8070901@cs.ucla.edu> <1240_1392127994_52FA2FFA_1240_5059_1_BFD060274D939643988A30233DFD49C524D8DFEC02@DE0-MAILMBX-P15.res.airbus.corp> <19905_1394320445_531BA43D_19905_477_1_handler.16723.D16723.139432039622094.notifdone@debbugs.gnu.org> <15006_1394435462_531D6586_15006_399_1_BFD060274D939643988A30233DFD49C524F1EF550B@DE0-MAILMBX-P15.res.airbus.corp> In-Reply-To: <15006_1394435462_531D6586_15006_399_1_BFD060274D939643988A30233DFD49C524F1EF550B@DE0-MAILMBX-P15.res.airbus.corp> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.0 (--) NICOLAI, Volker (AKKA IS) wrote: > I want to get rid of the lines containing "stylesheet" and the two lines following that line because they belong together! I see now, but that's not what grep does. It'd be easy to write an Awk script to do what you want, and I suggest doing that.