From MAILER-DAEMON Mon Jul 07 17:15:13 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1X4GAQ-0003fZ-6Z
	for mharc-bug-diffutils@gnu.org; Mon, 07 Jul 2014 17:09:42 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44832)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X4DtZ-00068f-Em
	for bug-diffutils@gnu.org; Mon, 07 Jul 2014 14:44:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X4DtT-0003wh-8J
	for bug-diffutils@gnu.org; Mon, 07 Jul 2014 14:44:09 -0400
Received: from debbugs.gnu.org ([140.186.70.43]:55045)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X4DtT-0003wd-4M
	for bug-diffutils@gnu.org; Mon, 07 Jul 2014 14:44:03 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X4DtS-0007Za-Sq
	for bug-diffutils@gnu.org; Mon, 07 Jul 2014 14:44:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: "Ball, Kevin (King of Prussia)" <Kevin.Ball@Fiserv.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-diffutils@gnu.org
Resent-Date: Mon, 07 Jul 2014 18:44:02 +0000
Resent-Message-ID: <handler.17967.B.140475860629042@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 17967
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: 
To: 17967@debbugs.gnu.org
X-Debbugs-Original-To: "bug-diffutils@gnu.org" <bug-diffutils@gnu.org>
Received: via spool by submit@debbugs.gnu.org id=B.140475860629042
	(code B ref -1); Mon, 07 Jul 2014 18:44:02 +0000
Received: (at submit) by debbugs.gnu.org; 7 Jul 2014 18:43:26 +0000
Received: from localhost ([127.0.0.1]:46195 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1X4Dsr-0007YL-UN
	for submit@debbugs.gnu.org; Mon, 07 Jul 2014 14:43:26 -0400
Received: from eggs.gnu.org ([208.118.235.92]:42571)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <prvs=25854222b=Kevin.Ball@fiserv.com>)
	id 1X4Ds7-0007WW-Nz
	for submit@debbugs.gnu.org; Mon, 07 Jul 2014 14:42:40 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <prvs=25854222b=Kevin.Ball@fiserv.com>)
	id 1X4Drw-0003Jc-C3
	for submit@debbugs.gnu.org; Mon, 07 Jul 2014 14:42:34 -0400
Received: from lists.gnu.org ([2001:4830:134:3::11]:57736)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <prvs=25854222b=Kevin.Ball@fiserv.com>)
	id 1X4Drw-0003JX-9I
	for submit@debbugs.gnu.org; Mon, 07 Jul 2014 14:42:28 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44210)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <prvs=25854222b=Kevin.Ball@fiserv.com>)
	id 1X4Drq-0004gy-SS
	for bug-diffutils@gnu.org; Mon, 07 Jul 2014 14:42:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <prvs=25854222b=Kevin.Ball@fiserv.com>)
	id 1X4Drl-0003GN-Mx
	for bug-diffutils@gnu.org; Mon, 07 Jul 2014 14:42:22 -0400
Received: from mail2.checkfree.com ([204.95.150.32]:10439
	helo=mail1.checkfree.com) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <prvs=25854222b=Kevin.Ball@fiserv.com>)
	id 1X4Drl-0003EZ-GO
	for bug-diffutils@gnu.org; Mon, 07 Jul 2014 14:42:17 -0400
X-IronPort-AV: E=Sophos; i="5.01,619,1400040000"; d="scan'208,217";
	a="32631108"
Received: from iwpdlpem01.corp.checkfree.com (HELO
	JWPKEXHT01.corp.checkfree.com) ([10.132.91.25])
	by iapiron02.corp.checkfree.com with ESMTP; 07 Jul 2014 14:42:15 -0400
Received: from JWPKEXMBX03.corp.checkfree.com ([169.254.5.236]) by
	JWPKEXHT01.corp.checkfree.com ([10.141.82.33]) with mapi id
	14.02.0342.003; Mon, 7 Jul 2014 14:42:08 -0400
From: "Ball, Kevin (King of Prussia)" <Kevin.Ball@Fiserv.com>
Thread-Topic: GNU Diffutils 3.3 for VMS
Thread-Index: Ac+aEyWdpL+meyt8QHqUpCwa+kq1fg==
Date: Mon, 7 Jul 2014 18:42:07 +0000
Message-ID: <5DC5B5353F7F914497E3A0D543C39F9F28685410@JWPKEXMBX03.corp.checkfree.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.141.101.129]
Content-Type: multipart/alternative;
	boundary="_000_5DC5B5353F7F914497E3A0D543C39F9F28685410JWPKEXMBX03corp_"
MIME-Version: 1.0
X-CFilter-Loop: True
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
	(bad octet value).
X-Mailman-Approved-At: Mon, 07 Jul 2014 14:43:24 -0400
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 140.186.70.43
X-Mailman-Approved-At: Mon, 07 Jul 2014 17:09:40 -0400
Subject: [bug-diffutils] bug#17967: GNU Diffutils 3.3 for VMS
X-BeenThere: bug-diffutils@gnu.org
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Jul 2014 18:44:16 -0000

--_000_5DC5B5353F7F914497E3A0D543C39F9F28685410JWPKEXMBX03corp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Greetings

I'm trying to wrap my arms around what steps I need to take to get Diffutil=
s 3.3 running on a OpenVMS Alpha server.  I looked at the readme files and =
it's not clear to me where I should start.

In the VMS_NOTES.TXT file  I found this;

SET DEFAULT [.DIFFUTILS-3_3A_VMS.VMS]   ! For convenience.

      MMS /MACRO =3D (LARGE=3D1)    ! Non-VAX (with large-file support).
      MMS                       ! VAX.

My guess is MMS needs to be defined as a symbol?  Any help you can provide =
would be great!

Thanks!

Kevin Ball
Systems Analyst
System Support
DataSafe Platform


Fiserv.
800-523-7282 ext 2519
610-687-9400 ext 2519

Fax 610-293-4432

www.fiserv.com<http://www.fiserv.com>



--_000_5DC5B5353F7F914497E3A0D543C39F9F28685410JWPKEXMBX03corp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Greetings<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I&#8217;m trying to wrap my arms around what steps I=
 need to take to get Diffutils 3.3 running on a OpenVMS Alpha server.&nbsp;=
 I looked at the readme files and it&#8217;s not clear to me where I should=
 start.&nbsp;
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In the VMS_NOTES.TXT file&nbsp; I found this;<o:p></=
o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">SET DEFAULT [.DIFFUTILS-3_3A_VMS.VMS]&nbsp;&nbsp; ! =
For convenience.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MMS /MACRO =3D (=
LARGE=3D1)&nbsp;&nbsp;&nbsp; ! Non-VAX (with large-file support).<o:p></o:p=
></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MMS&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ! VAX.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">My guess is MMS needs to be defined as a symbol?&nbs=
p; Any help you can provide would be great!<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Thanks!<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Arial&quot;,&quot;sans-serif&quot;;color:navy">Kevin Ball</span></b><span =
style=3D"font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;ser=
if&quot;;color:navy"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:navy">Systems Analyst</span><span st=
yle=3D"color:navy"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:navy">System Support<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:navy">DataSafe Platform</span><span =
style=3D"color:navy"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:navy"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"color:navy">&nbsp;<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:#FF8000">Fiserv.</span><span style=
=3D"color:navy"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:navy">800-523-7282 ext 2519</span><s=
pan style=3D"color:navy"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:navy">610-687-9400 ext 2519</span><s=
pan style=3D"color:navy"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:navy">&nbsp;<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:navy">Fax 610-293-4432</span><span s=
tyle=3D"color:navy"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:navy">&nbsp;<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><u><span lang=3D"EN-GB" style=3D"font-size:9.0pt;fon=
t-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#2C438A"><a href=3D=
"http://www.fiserv.com"><span style=3D"color:blue">www.fiserv.com</span></a=
><o:p></o:p></span></u></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_5DC5B5353F7F914497E3A0D543C39F9F28685410JWPKEXMBX03corp_--




From MAILER-DAEMON Mon Jul 07 18:10:13 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1X4H6z-0007ZL-NP
	for mharc-bug-diffutils@gnu.org; Mon, 07 Jul 2014 18:10:13 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46802)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X4H4z-0007Np-2I
	for bug-diffutils@gnu.org; Mon, 07 Jul 2014 18:08:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X4H4s-0002Wr-Gw
	for bug-diffutils@gnu.org; Mon, 07 Jul 2014 18:08:09 -0400
Received: from debbugs.gnu.org ([140.186.70.43]:55150)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X4H4s-0002Wi-Dz
	for bug-diffutils@gnu.org; Mon, 07 Jul 2014 18:08:02 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X4H4s-0005FG-4K
	for bug-diffutils@gnu.org; Mon, 07 Jul 2014 18:08:02 -0400
Resent-From: Paul Eggert <eggert@cs.ucla.edu>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-To: bug-diffutils@gnu.org
Resent-Date: Mon, 07 Jul 2014 22:08:01 +0000
Resent-Message-ID: <handler.17967.D17967.140477085420110.done@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: cc-closed 17967
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: 
To: "Ball, Kevin (King of Prussia)" <Kevin.Ball@Fiserv.com>,
	17967-done@debbugs.gnu.org
Mail-Followup-To: 17967@debbugs.gnu.org, eggert@cs.ucla.edu,
	Kevin.Ball@Fiserv.com
Received: via spool by 17967-done@debbugs.gnu.org id=D17967.140477085420110
	(code D ref 17967); Mon, 07 Jul 2014 22:08:01 +0000
Received: (at 17967-done) by debbugs.gnu.org; 7 Jul 2014 22:07:34 +0000
Received: from localhost ([127.0.0.1]:46298 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1X4H4P-0005EH-UN
	for submit@debbugs.gnu.org; Mon, 07 Jul 2014 18:07:34 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:57090)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <eggert@cs.ucla.edu>) id 1X4H4N-0005Dx-TD
	for 17967-done@debbugs.gnu.org; Mon, 07 Jul 2014 18:07:33 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 10FC339E8015;
	Mon,  7 Jul 2014 15:07:26 -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 DRoZHEGEOEcd; Mon,  7 Jul 2014 15:07:20 -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 8DACD39E8012;
	Mon,  7 Jul 2014 15:07:20 -0700 (PDT)
Message-ID: <53BB1A17.2070101@cs.ucla.edu>
Date: Mon, 07 Jul 2014 15:07:19 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
References: <5DC5B5353F7F914497E3A0D543C39F9F28685410@JWPKEXMBX03.corp.checkfree.com>
In-Reply-To: <5DC5B5353F7F914497E3A0D543C39F9F28685410@JWPKEXMBX03.corp.checkfree.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 140.186.70.43
Subject: [bug-diffutils] bug#17967:  bug#17967: GNU Diffutils 3.3 for VMS
X-BeenThere: bug-diffutils@gnu.org
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Jul 2014 22:10:12 -0000

Ball, Kevin (King of Prussia) wrote:
> In the VMS_NOTES.TXT file

There is no VMS_NOTES.TXT in GNU diffutils 3.3.  My guess is that you 
got a port of diffutils 3.3 to VMS by Steven M. Schweda 
<sms@antinode.info>; if so, please write to him about the VMS part.




From MAILER-DAEMON Tue Jul 22 12:20:20 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1X9cnc-00026m-76
	for mharc-bug-diffutils@gnu.org; Tue, 22 Jul 2014 12:20:20 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45075)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X9V1W-0001gR-Fj
	for bug-diffutils@gnu.org; Tue, 22 Jul 2014 04:02:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X9V1P-0000Ii-6n
	for bug-diffutils@gnu.org; Tue, 22 Jul 2014 04:02:10 -0400
Received: from debbugs.gnu.org ([140.186.70.43]:38958)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X9V1P-0000Ia-3W
	for bug-diffutils@gnu.org; Tue, 22 Jul 2014 04:02:03 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X9V1O-0003Ik-Lx
	for bug-diffutils@gnu.org; Tue, 22 Jul 2014 04:02:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Jean-Francois Thuong
	<jean-francois.thuong@esterel-technologies.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-diffutils@gnu.org
Resent-Date: Tue, 22 Jul 2014 08:02:02 +0000
Resent-Message-ID: <handler.18076.B.140601607612601@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 18076
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: 
To: 18076@debbugs.gnu.org
X-Debbugs-Original-To: submit@debbugs.gnu.org
Received: via spool by submit@debbugs.gnu.org id=B.140601607612601
	(code B ref -1); Tue, 22 Jul 2014 08:02:02 +0000
Received: (at submit) by debbugs.gnu.org; 22 Jul 2014 08:01:16 +0000
Received: from localhost ([127.0.0.1]:34224 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1X9V0a-0003H3-58
	for submit@debbugs.gnu.org; Tue, 22 Jul 2014 04:01:16 -0400
Received: from na3sys009aog109.obsmtp.com ([74.125.149.201]:41933)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <jean-francois.thuong@ansys.com>) id 1X9U3S-0001QS-Pn
	for submit@debbugs.gnu.org; Tue, 22 Jul 2014 03:00:09 -0400
Received: from mail-oa0-f51.google.com ([209.85.219.51]) (using TLSv1) by
	na3sys009aob109.postini.com ([74.125.148.12]) with SMTP
	ID DSNKU84L9G94Ht2BPjmZu+I9xQp6vkU3wiuo@postini.com;
	Tue, 22 Jul 2014 00:00:06 PDT
Received: by mail-oa0-f51.google.com with SMTP id o6so9060253oag.38
	for <submit@debbugs.gnu.org>; Tue, 22 Jul 2014 00:00:04 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:from:date:message-id:subject:to
	:content-type;
	bh=Mq+2iYMKA2NJPzvPgneLUlppTDG0q3wEkGkiddB5nDQ=;
	b=AQeixK7BdOuiKQ6s/Jh/+QICKl4XqvruJtRVjg308R7iDIQzcej1xf5kjCtuzWTCxE
	ugY0ZmNRorNWh29LTQGtqfJEw/rw0ZLihskl5I49vq84OGPGOWXmkBWUnG7cuoEw5yKn
	HxBC0qRnhgDqB/nejXkxzAW1xZeyqQvpiTZxvOhgHJ+61jVfLiEVLY2BArhQJmIO9Cds
	NHTWVYb6Qft6SSfwXfWtbiSeCa5Uo+aIx8iGgMCFqvYisSbc3N05T7N/tyFKu8edCK1H
	CvLVam6+Mwr2kPStxvqY2yTaoRx6SjcfF+n41QFbehI1vkvBK8gZCV/7Vi42cHzj9DHl
	6g9A==
X-Gm-Message-State: ALoCoQn2TQvMRYR4Dl/hHQNo+vNKcnpWD6W1CPI/mmCrA3S8UuymyxBSgdlAIrxcBXR1uTUf94WkzyXz7exZvQ2pe5i5xptAfcM33bc/scOnWwJHnJZV3I0D7dnFuwDWGTbxonT/glIH
X-Received: by 10.60.179.114 with SMTP id df18mr44772891oec.76.1406012404280; 
	Tue, 22 Jul 2014 00:00:04 -0700 (PDT)
X-Received: by 10.60.179.114 with SMTP id df18mr44772865oec.76.1406012404093; 
	Tue, 22 Jul 2014 00:00:04 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.130.197 with HTTP; Mon, 21 Jul 2014 23:59:43 -0700 (PDT)
From: Jean-Francois Thuong <jean-francois.thuong@esterel-technologies.com>
Date: Tue, 22 Jul 2014 14:59:43 +0800
Message-ID: <CA+3cvPB3pqKUjpeukwgTOTLLGqdPihnLHFDiZo5hLYEtOiXRHA@mail.gmail.com>
Content-Type: multipart/mixed; boundary=089e011609b8e5791104fec2c539
X-Mailman-Approved-At: Tue, 22 Jul 2014 04:01:09 -0400
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 140.186.70.43
X-Mailman-Approved-At: Tue, 22 Jul 2014 12:20:18 -0400
Subject: [bug-diffutils] bug#18076: Lines are not ignored by option -I if
	they are followed by a line with a difference
X-BeenThere: bug-diffutils@gnu.org
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Jul 2014 08:02:17 -0000

--089e011609b8e5791104fec2c539
Content-Type: multipart/alternative; boundary=089e011609b8e5790d04fec2c537

--089e011609b8e5790d04fec2c537
Content-Type: text/plain; charset=UTF-8

Package: diffutils
Version: 3.3

When 2 (or more) consecutive lines are different between the two compared
files, they are ignored by option -I if all of them are ignored; if the
last line is not ignored, all the lines are returned by diff tool (instead
of only the last line).

Although the documentation clearly indicates this as nominal, it looks
strange while looking at the results to have lines that we supposed to have
been ignored.


------------------
To reproduce:
1. Create 2 files (e.g. File1.txt and File2.txt) having 2 consecutive
different lines (e.g. lines 2 and 3)
2. Run diff with option -I including a pattern matching line 2
3. Observe that diff returns differences for both lines 2 and 3


Note: the files attached could be used as an example with the command line
diff -I "^IGNORE:.*quot; File1.txt File2.txt
The difference is as follows:
2,3c2,3
< IGNORE: Line to be ignored with value = 1
< Different line (version A)
---
> IGNORE: Line to be ignored with value = 2
> Different line (version B)


Jean-Francois Thuong
------------------------------

*SCADE Display Validation Leader*
*Esterel Technologies**, a wholly-owned subsidiary of ANSYS, Inc.*
*jean-francois.thuong@esterel-technologies.com
<jean-francois.thuong@esterel-technologies.com>*

*The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, re-transmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.*

--089e011609b8e5790d04fec2c537
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Package:=C2=A0diffutils<br></div><div><div>Version: 3=
.3</div><div><br></div><div>When 2 (or more) consecutive lines are differen=
t between the two compared files, they are ignored by option -I if all of t=
hem are ignored; if the last line is not ignored, all the lines are returne=
d by diff tool (instead of only the last line).<br>

</div><div><br></div><div>Although the documentation clearly indicates this=
 as nominal, it looks strange while looking at the results to have lines th=
at we supposed to have been ignored.</div><div><br></div><div><br></div>

------------------<br>To reproduce:<br>1. Create 2 files (e.g. File1.txt an=
d File2.txt) having 2 consecutive different lines (e.g. lines 2 and 3)<br>2=
. Run diff with option -I including a pattern matching line 2<br>3. Observe=
 that diff returns differences for both lines 2 and 3<br>

<br><br><div><span style=3D"font-family:arial,sans-serif;font-size:12.72727=
2033691406px">Note: the files attached could be used as an example with the=
 command line</span><br style=3D"font-family:arial,sans-serif;font-size:12.=
727272033691406px">

<span style=3D"font-family:arial,sans-serif;font-size:12.727272033691406px"=
>diff -I &quot;^IGNORE:.*</span><span style=3D"font-family:arial,sans-serif=
;font-size:12.727272033691406px"></span><span style=3D"font-family:arial,sa=
ns-serif;font-size:12.727272033691406px">quot; File1.txt File2.txt</span><b=
r style=3D"font-family:arial,sans-serif;font-size:12.727272033691406px">

<span style=3D"font-family:arial,sans-serif;font-size:12.727272033691406px"=
>The difference is as follows:</span><br style=3D"font-family:arial,sans-se=
rif;font-size:12.727272033691406px"><span style=3D"font-family:arial,sans-s=
erif;font-size:12.727272033691406px">2,3c2,3</span><br style=3D"font-family=
:arial,sans-serif;font-size:12.727272033691406px">

<span style=3D"font-family:arial,sans-serif;font-size:12.727272033691406px"=
>&lt; IGNORE: Line to be ignored with value =3D 1</span><br style=3D"font-f=
amily:arial,sans-serif;font-size:12.727272033691406px"><span style=3D"font-=
family:arial,sans-serif;font-size:12.727272033691406px">&lt; Different line=
 (version A)</span><br style=3D"font-family:arial,sans-serif;font-size:12.7=
27272033691406px">

<span style=3D"font-family:arial,sans-serif;font-size:12.727272033691406px"=
>---</span><br style=3D"font-family:arial,sans-serif;font-size:12.727272033=
691406px"><span style=3D"font-family:arial,sans-serif;font-size:12.72727203=
3691406px">&gt; IGNORE: Line to be ignored with value =3D 2</span><br style=
=3D"font-family:arial,sans-serif;font-size:12.727272033691406px">

<span style=3D"font-family:arial,sans-serif;font-size:12.727272033691406px"=
>&gt; Different line (version B)</span></div></div><div><span style=3D"font=
-family:arial,sans-serif;font-size:12.727272033691406px"><br></span></div>
<br clear=3D"all">
<div><div dir=3D"ltr"><p><font><font color=3D"#2f2f2f" face=3D"Verdana">Jea=
n-Francois Thuong</font></font><br></p><hr width=3D"99%" size=3D"4" align=
=3D"left"><br><font><font color=3D"#2f2f2f" face=3D"Verdana"><i>SCADE Displ=
ay Validation Leader</i></font></font><br>

<font><font color=3D"#2f2f2f" face=3D"Verdana"><i>Esterel Technologies</i><=
/font><font color=3D"#2f2f2f" face=3D"Verdana"><i>, a wholly-owned subsidia=
ry of ANSYS, Inc.</i></font></font><br><font size=3D"3" color=3D"#0000ff" f=
ace=3D"Calibri" style=3D"color:rgb(0,106,227)"><b><u><a href=3D"mailto:jean=
-francois.thuong@esterel-technologies.com" style=3D"color:rgb(17,85,204)" t=
arget=3D"_blank">jean-francois.thuong@esterel-technologies.com</a></u></b><=
/font><br>

<font size=3D"3" color=3D"#2f2f2f" face=3D"Arial">=C2=A0</font><br><font co=
lor=3D"#2f2f2f" face=3D"Calibri" size=3D"1"><i>The information transmitted =
is intended only for the person or entity to which it is addressed and may =
contain confidential and/or privileged material. Any review, re-transmissio=
n, dissemination or other use of, or taking of any action in reliance upon,=
 this information by persons or entities other than the intended recipient =
is prohibited. If you received this in error, please contact the sender and=
 delete the material from any computer.</i></font><div>

</div></div></div>
</div>

--089e011609b8e5790d04fec2c537--
--089e011609b8e5791104fec2c539
Content-Type: text/plain; charset=US-ASCII; name="File1.txt"
Content-Disposition: attachment; filename="File1.txt"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hxwvg4zu0

I0hFQURFUg0KSUdOT1JFOiBMaW5lIHRvIGJlIGlnbm9yZWQgd2l0aCB2YWx1ZSA9IDENCkRpZmZl
cmVudCBsaW5lICh2ZXJzaW9uIEEpDQpTYW1lIGxpbmUNCklHTk9SRTogTGluZSBpZ25vcmVkIHdp
dGggdmFsdWUgPSAzDQo=
--089e011609b8e5791104fec2c539
Content-Type: text/plain; charset=US-ASCII; name="File2.txt"
Content-Disposition: attachment; filename="File2.txt"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hxwvg51j1

I0hFQURFUg0KSUdOT1JFOiBMaW5lIHRvIGJlIGlnbm9yZWQgd2l0aCB2YWx1ZSA9IDINCkRpZmZl
cmVudCBsaW5lICh2ZXJzaW9uIEIpDQpTYW1lIGxpbmUNCklHTk9SRTogTGluZSBpZ25vcmVkIHdp
dGggdmFsdWUgPSA0DQo=
--089e011609b8e5791104fec2c539--




From MAILER-DAEMON Tue Jul 22 13:00:23 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1X9dQN-000205-44
	for mharc-bug-diffutils@gnu.org; Tue, 22 Jul 2014 13:00:23 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54339)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X9dQE-0001ys-08
	for bug-diffutils@gnu.org; Tue, 22 Jul 2014 13:00:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X9dQ8-0005I3-8V
	for bug-diffutils@gnu.org; Tue, 22 Jul 2014 13:00:13 -0400
Received: from debbugs.gnu.org ([140.186.70.43]:39569)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X9dQ8-0005Ht-6F
	for bug-diffutils@gnu.org; Tue, 22 Jul 2014 13:00:08 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X9dQ6-0005VS-Tk
	for bug-diffutils@gnu.org; Tue, 22 Jul 2014 13:00:07 -0400
Resent-From: Eric Blake <eblake@redhat.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-To: bug-diffutils@gnu.org
Resent-Date: Tue, 22 Jul 2014 17:00:05 +0000
Resent-Message-ID: <handler.18076.D18076.140604834520943.done@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: cc-closed 18076
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: notabug
To: Jean-Francois Thuong <jean-francois.thuong@esterel-technologies.com>,
	18076-done@debbugs.gnu.org
Mail-Followup-To: 18076@debbugs.gnu.org, eblake@redhat.com,
	jean-francois.thuong@esterel-technologies.com
Received: via spool by 18076-done@debbugs.gnu.org id=D18076.140604834520943
	(code D ref 18076); Tue, 22 Jul 2014 17:00:05 +0000
Received: (at 18076-done) by debbugs.gnu.org; 22 Jul 2014 16:59:05 +0000
Received: from localhost ([127.0.0.1]:34829 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1X9dP6-0005Ri-UR
	for submit@debbugs.gnu.org; Tue, 22 Jul 2014 12:59:05 -0400
Received: from mx1.redhat.com ([209.132.183.28]:52396)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <eblake@redhat.com>)
	id 1X9dP3-0005R8-K5; Tue, 22 Jul 2014 12:59:03 -0400
Received: from int-mx09.intmail.prod.int.phx2.redhat.com
	(int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s6MGwwlH007361
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256
	verify=OK); Tue, 22 Jul 2014 12:58:58 -0400
Received: from [10.3.113.59] (ovpn-113-59.phx2.redhat.com [10.3.113.59])
	by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id s6MGwwKX018174; Tue, 22 Jul 2014 12:58:58 -0400
Message-ID: <53CE9852.9090505@redhat.com>
Date: Tue, 22 Jul 2014 10:58:58 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat, Inc.
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
References: <CA+3cvPB3pqKUjpeukwgTOTLLGqdPihnLHFDiZo5hLYEtOiXRHA@mail.gmail.com>
In-Reply-To: <CA+3cvPB3pqKUjpeukwgTOTLLGqdPihnLHFDiZo5hLYEtOiXRHA@mail.gmail.com>
X-Enigmail-Version: 1.6
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="XFQo7T7vaHXdtTThnoBdeUBVr7md8kgsv"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 140.186.70.43
Subject: [bug-diffutils] bug#18076: bug#18076: Lines are not ignored by
	option -I if they are followed by a line with a difference
X-BeenThere: bug-diffutils@gnu.org
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Jul 2014 17:00:21 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--XFQo7T7vaHXdtTThnoBdeUBVr7md8kgsv
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

tag 18076 notabug
thanks

On 07/22/2014 12:59 AM, Jean-Francois Thuong wrote:

> To reproduce:
> 1. Create 2 files (e.g. File1.txt and File2.txt) having 2 consecutive
> different lines (e.g. lines 2 and 3)
> 2. Run diff with option -I including a pattern matching line 2
> 3. Observe that diff returns differences for both lines 2 and 3

Thanks for the report.  However, this is not a bug, but documented
behavior.  -I only suppresses entire hunks where EVERY difference in the
hunk matches the regex.

The mode of operation you are requesting, where diff ignores lines that
match the regex prior to doing the comparison (although line numbers are
then a bit off), can be accomplished via this trick in bash:

patt=3D'^IGNORE:'
diff <(sed "/$patt/d" File1.txt) <(sed "/$patt/d" File2.txt)

Maybe it's worth a new option to diff to allow this mode of operation by
default (and so that line numbers are still accurate); but -I cannot be
changed semantics to match that new option.

I'm closing this report as we are matching our documentation, although
we can reopen it if someone is interested in writing a patch for such a
new option.

> *The information transmitted is intended only for the person or entity =
to

Sorry, but such disclaimers are unenforceable on publicly-archived
mailing lists.  You may want to consider sending from a personal account
in the future, rather than slamming the list with your employer's
legalese spam.

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--XFQo7T7vaHXdtTThnoBdeUBVr7md8kgsv
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJTzphSAAoJEKeha0olJ0Nq05sIAIpWika013tH/ZxFSqv4CQ2J
NlsS79Hh8u0d7WO0QE0t1sF3Z70w+fGpVN9IAtFbBuK7efXr8CsLJQO5sBFz/q0A
Z4Bvqme8LX1GZ9fCZ3Oe9jD0YPF800YYwHco9RwJmJozUDl1CqYDYBY1uf98i50t
KvT75wW8VrgqSP2Px3qQNFsIdyMMhyQqvdeWbXDAtl8Y1sD8UOXMHo8xQh5svcBR
qd3xoI/rnhhzoRAh9qP54uLyNbO2VNTbXqt1oqhf7pUnyaiD4kJ7W1GVkxLygFWa
77QYLCXpbKv4lZbl1x/j4S6+YfOuVGZrTBE7JTs7qEzxkPd+0vV4fyqpsS5az/o=
=rmxD
-----END PGP SIGNATURE-----

--XFQo7T7vaHXdtTThnoBdeUBVr7md8kgsv--




From MAILER-DAEMON Wed Jul 23 03:54:18 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1X9rNS-0004KJ-Az
	for mharc-bug-diffutils@gnu.org; Wed, 23 Jul 2014 03:54:18 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46800)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X9rNK-0004J2-2s
	for bug-diffutils@gnu.org; Wed, 23 Jul 2014 03:54:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X9rND-0004t1-EA
	for bug-diffutils@gnu.org; Wed, 23 Jul 2014 03:54:10 -0400
Received: from debbugs.gnu.org ([140.186.70.43]:39969)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X9rND-0004st-91
	for bug-diffutils@gnu.org; Wed, 23 Jul 2014 03:54:03 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1X9rNC-0003HK-ER
	for bug-diffutils@gnu.org; Wed, 23 Jul 2014 03:54:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Jean-Francois Thuong
	<jean-francois.thuong@esterel-technologies.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-diffutils@gnu.org
Resent-Date: Wed, 23 Jul 2014 07:54:02 +0000
Resent-Message-ID: <handler.18076.B18076.140610199812524@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 18076
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: notabug
To: 18076@debbugs.gnu.org
Received: via spool by 18076-submit@debbugs.gnu.org id=B18076.140610199812524
	(code B ref 18076); Wed, 23 Jul 2014 07:54:02 +0000
Received: (at 18076) by debbugs.gnu.org; 23 Jul 2014 07:53:18 +0000
Received: from localhost ([127.0.0.1]:35235 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1X9rMP-0003Fm-Be
	for submit@debbugs.gnu.org; Wed, 23 Jul 2014 03:53:18 -0400
Received: from na3sys009aog135.obsmtp.com ([74.125.149.84]:47749)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <jean-francois.thuong@ansys.com>) id 1X9rMI-0003FX-Ml
	for 18076@debbugs.gnu.org; Wed, 23 Jul 2014 03:53:12 -0400
Received: from mail-oa0-f41.google.com ([209.85.219.41]) (using TLSv1) by
	na3sys009aob135.postini.com ([74.125.148.12]) with SMTP
	ID DSNKU89p4Xp8ByEgeL+r1H48ZwGLgL50gsC3@postini.com;
	Wed, 23 Jul 2014 00:53:06 PDT
Received: by mail-oa0-f41.google.com with SMTP id j17so1108114oag.14
	for <18076@debbugs.gnu.org>; Wed, 23 Jul 2014 00:53:05 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:cc:content-type;
	bh=8YYmpD2ELAiqOsmhYT8j3jkJuXufgIG6QnS65mdo0so=;
	b=MJfTTY8bAKa/CneC2fxzJWgRMWiHugMxYNd/PerU891G1erHk9kRsYzrHbJhrtCpuf
	UXRtA3gXUMIPSUkjpGhKOj7pVhLflU66zr1brGd42Y3hbNE8QqNAm7n4QoyyYoy7fNu6
	n9JC968OFxxItYmvD5atq8cJt0UDdUOHEVSoDbEpcb9+MHVP5JUACPQPdr/Q+Fxewv2I
	AFzLYHQW3mrR4rV6v0pCD5kC76Kdlxf2zvwoJ9WiNr3YpY5MaN+wkkrFFKEKObPVrmRI
	kYk3SFqm/Xdt3VXnddnxEhLSQzqDT+/jm9dZQK0II8QTHKwTlozI2QWneYFlvZv2eDWW
	C5cg==
X-Gm-Message-State: ALoCoQntnvX8UyXeKtkoz6cck7PUrEk2HbVki5JcjAj3R7HktHv24bWbf+VGMfcp6kRmV96T56TFEcFHVGIPYK/WNRKMjpUN/AV76mKlKMzIkNtCymtY4hxQIpeC3UG2XpDFcU0M20K8
X-Received: by 10.182.52.197 with SMTP id v5mr24342032obo.85.1406101985020;
	Wed, 23 Jul 2014 00:53:05 -0700 (PDT)
X-Received: by 10.182.52.197 with SMTP id v5mr24341907obo.85.1406101984209;
	Wed, 23 Jul 2014 00:53:04 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.130.197 with HTTP; Wed, 23 Jul 2014 00:52:44 -0700 (PDT)
In-Reply-To: <handler.18076.D18076.140604834520943.notifdone@debbugs.gnu.org>
References: <53CE9852.9090505@redhat.com>
	<CA+3cvPB3pqKUjpeukwgTOTLLGqdPihnLHFDiZo5hLYEtOiXRHA@mail.gmail.com>
	<handler.18076.D18076.140604834520943.notifdone@debbugs.gnu.org>
From: Jean-Francois Thuong <jean-francois.thuong@esterel-technologies.com>
Date: Wed, 23 Jul 2014 15:52:44 +0800
Message-ID: <CA+3cvPB9gBZnbAZcMK1FOWtvk2u81y-LEFsbT31nzkV02Fa6sw@mail.gmail.com>
Content-Type: multipart/alternative; boundary=089e0158b0d8497dd404fed7a120
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 140.186.70.43
Cc: Jean-Francois Thuong <jean-francois.thuong@esterel-technologies.com>
Subject: [bug-diffutils] bug#18076: closed (Re: bug#18076: Lines are not
	ignored by option -I if they are followed by a line with a
	difference)
X-BeenThere: bug-diffutils@gnu.org
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jul 2014 07:54:16 -0000

--089e0158b0d8497dd404fed7a120
Content-Type: text/plain; charset=UTF-8

Hello Eric,

Thank you for the tweak using sed; I suppose a similar "grep" would work as
well?

May i enter a request for enhancement with a suggestion to add this new
function enabling the filter of ignored lines from hunks containing
differences?



> *The information transmitted is intended only for the person or entity to
> Sorry, but such disclaimers are unenforceable on publicly-archived
> mailing lists.  You may want to consider sending from a personal account
> in the future, rather than slamming the list with your employer's
> legalese spam.


My bad. I unfortunately had to send the request from the company email
because this bug report was part of our process of the qualification of GNU
Diff 2.8.7.

Jean-Francois Thuong



On Wed, Jul 23, 2014 at 1:00 AM, GNU bug Tracking System <
help-debbugs@gnu.org> wrote:

> Your bug report
>
> #18076: Lines are not ignored by option -I if they are followed by a line
> with a difference
>
> which was filed against the diffutils package, has been closed.
>
> The explanation is attached below, along with your original report.
> If you require more details, please reply to 18076@debbugs.gnu.org.
>
> --
> 18076: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18076
> GNU Bug Tracking System
> Contact help-debbugs@gnu.org with problems
>
>
> ---------- Forwarded message ----------
> From: Eric Blake <eblake@redhat.com>
> To: Jean-Francois Thuong <jean-francois.thuong@esterel-technologies.com>,
> 18076-done@debbugs.gnu.org
> Cc:
> Date: Tue, 22 Jul 2014 10:58:58 -0600
> Subject: Re: [bug-diffutils] bug#18076: Lines are not ignored by option -I
> if they are followed by a line with a difference
> tag 18076 notabug
> thanks
>
> On 07/22/2014 12:59 AM, Jean-Francois Thuong wrote:
>
> > To reproduce:
> > 1. Create 2 files (e.g. File1.txt and File2.txt) having 2 consecutive
> > different lines (e.g. lines 2 and 3)
> > 2. Run diff with option -I including a pattern matching line 2
> > 3. Observe that diff returns differences for both lines 2 and 3
>
> Thanks for the report.  However, this is not a bug, but documented
> behavior.  -I only suppresses entire hunks where EVERY difference in the
> hunk matches the regex.
>
> The mode of operation you are requesting, where diff ignores lines that
> match the regex prior to doing the comparison (although line numbers are
> then a bit off), can be accomplished via this trick in bash:
>
> patt='^IGNORE:'
> diff <(sed "/$patt/d" File1.txt) <(sed "/$patt/d" File2.txt)
>
> Maybe it's worth a new option to diff to allow this mode of operation by
> default (and so that line numbers are still accurate); but -I cannot be
> changed semantics to match that new option.
>
> I'm closing this report as we are matching our documentation, although
> we can reopen it if someone is interested in writing a patch for such a
> new option.
>
> > *The information transmitted is intended only for the person or entity to
>
> Sorry, but such disclaimers are unenforceable on publicly-archived
> mailing lists.  You may want to consider sending from a personal account
> in the future, rather than slamming the list with your employer's
> legalese spam.
>
> --
> Eric Blake   eblake redhat com    +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>
>
>
> ---------- Forwarded message ----------
> From: Jean-Francois Thuong <jean-francois.thuong@esterel-technologies.com>
> To: submit@debbugs.gnu.org
> Cc:
> Date: Tue, 22 Jul 2014 14:59:43 +0800
> Subject: Lines are not ignored by option -I if they are followed by a line
> with a difference
> Package: diffutils
> Version: 3.3
>
> When 2 (or more) consecutive lines are different between the two compared
> files, they are ignored by option -I if all of them are ignored; if the
> last line is not ignored, all the lines are returned by diff tool (instead
> of only the last line).
>
> Although the documentation clearly indicates this as nominal, it looks
> strange while looking at the results to have lines that we supposed to have
> been ignored.
>
>
> ------------------
> To reproduce:
> 1. Create 2 files (e.g. File1.txt and File2.txt) having 2 consecutive
> different lines (e.g. lines 2 and 3)
> 2. Run diff with option -I including a pattern matching line 2
> 3. Observe that diff returns differences for both lines 2 and 3
>
>
> Note: the files attached could be used as an example with the command line
> diff -I "^IGNORE:.*quot; File1.txt File2.txt
> The difference is as follows:
> 2,3c2,3
> < IGNORE: Line to be ignored with value = 1
> < Different line (version A)
> ---
> > IGNORE: Line to be ignored with value = 2
> > Different line (version B)
>
>

--089e0158b0d8497dd404fed7a120
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello Eric,<div><br></div><div>Thank you for the tweak usi=
ng sed; I suppose a similar &quot;grep&quot; would work as well?</div><div>=
<br></div><div>May i enter a request for enhancement with a suggestion to a=
dd this new function enabling the filter of ignored lines from hunks contai=
ning differences?</div>

<div><br></div><div><br></div><div><br></div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-col=
or:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style=
=3D"font-family:arial,sans-serif;font-size:12.727272033691406px">&gt; *The =
information transmitted is intended only for the person or entity to</span>=
<br style=3D"font-family:arial,sans-serif;font-size:12.727272033691406px">

<span style=3D"font-family:arial,sans-serif;font-size:12.727272033691406px"=
>Sorry, but such disclaimers are unenforceable on publicly-archived<br></sp=
an><span style=3D"font-family:arial,sans-serif;font-size:12.727272033691406=
px">mailing lists. =C2=A0You may want to consider sending from a personal a=
ccount<br>

</span><span style=3D"font-family:arial,sans-serif;font-size:12.72727203369=
1406px">in the future, rather than slamming the list with your employer&#39=
;s<br></span><span style=3D"font-family:arial,sans-serif;font-size:12.72727=
2033691406px">legalese spam.</span></blockquote>

<div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">My bad. I u=
nfortunately had to send the request from the company email because this bu=
g report was part of our process of the qualification of GNU Diff 2.8.7.</d=
iv>

<div class=3D"gmail_extra"><br clear=3D"all"><div><div dir=3D"ltr"><p><font=
><font color=3D"#2f2f2f" face=3D"Verdana">Jean-Francois Thuong</font></font=
></p><font size=3D"3" color=3D"#2f2f2f" face=3D"Arial">=C2=A0</font><div></=
div></div></div>

<br><br><div class=3D"gmail_quote">On Wed, Jul 23, 2014 at 1:00 AM, GNU bug=
 Tracking System <span dir=3D"ltr">&lt;<a href=3D"mailto:help-debbugs@gnu.o=
rg" target=3D"_blank">help-debbugs@gnu.org</a>&gt;</span> wrote:<br><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-wi=
dth:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-=
left:1ex">

Your bug report<br>
<br>
#18076: Lines are not ignored by option -I if they are followed by a line w=
ith a difference<br>
<br>
which was filed against the diffutils package, has been closed.<br>
<br>
The explanation is attached below, along with your original report.<br>
If you require more details, please reply to <a href=3D"mailto:18076@debbug=
s.gnu.org">18076@debbugs.gnu.org</a>.<br>
<span class=3D""><font color=3D"#888888"><br>
--<br>
18076: <a href=3D"http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D18076" tar=
get=3D"_blank">http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D18076</a><br>
GNU Bug Tracking System<br>
Contact <a href=3D"mailto:help-debbugs@gnu.org">help-debbugs@gnu.org</a> wi=
th problems<br>
</font></span><br><br>---------- Forwarded message ----------<br>From:=C2=
=A0Eric Blake &lt;<a href=3D"mailto:eblake@redhat.com">eblake@redhat.com</a=
>&gt;<br>To:=C2=A0Jean-Francois Thuong &lt;<a href=3D"mailto:jean-francois.=
thuong@esterel-technologies.com">jean-francois.thuong@esterel-technologies.=
com</a>&gt;, <a href=3D"mailto:18076-done@debbugs.gnu.org">18076-done@debbu=
gs.gnu.org</a><br>

Cc:=C2=A0<br>Date:=C2=A0Tue, 22 Jul 2014 10:58:58 -0600<br>Subject:=C2=A0Re=
: [bug-diffutils] bug#18076: Lines are not ignored by option -I if they are=
 followed by a line with a difference<br>tag 18076 notabug<br>
thanks<br>
<br>
On 07/22/2014 12:59 AM, Jean-Francois Thuong wrote:<br>
<br>
&gt; To reproduce:<br>
&gt; 1. Create 2 files (e.g. File1.txt and File2.txt) having 2 consecutive<=
br>
&gt; different lines (e.g. lines 2 and 3)<br>
&gt; 2. Run diff with option -I including a pattern matching line 2<br>
&gt; 3. Observe that diff returns differences for both lines 2 and 3<br>
<br>
Thanks for the report. =C2=A0However, this is not a bug, but documented<br>
behavior. =C2=A0-I only suppresses entire hunks where EVERY difference in t=
he<br>
hunk matches the regex.<br>
<br>
The mode of operation you are requesting, where diff ignores lines that<br>
match the regex prior to doing the comparison (although line numbers are<br=
>
then a bit off), can be accomplished via this trick in bash:<br>
<br>
patt=3D&#39;^IGNORE:&#39;<br>
diff &lt;(sed &quot;/$patt/d&quot; File1.txt) &lt;(sed &quot;/$patt/d&quot;=
 File2.txt)<br>
<br>
Maybe it&#39;s worth a new option to diff to allow this mode of operation b=
y<br>
default (and so that line numbers are still accurate); but -I cannot be<br>
changed semantics to match that new option.<br>
<br>
I&#39;m closing this report as we are matching our documentation, although<=
br>
we can reopen it if someone is interested in writing a patch for such a<br>
new option.<br>
<br>
&gt; *The information transmitted is intended only for the person or entity=
 to<br>
<br>
Sorry, but such disclaimers are unenforceable on publicly-archived<br>
mailing lists. =C2=A0You may want to consider sending from a personal accou=
nt<br>
in the future, rather than slamming the list with your employer&#39;s<br>
legalese spam.<br>
<br>
--<br>
Eric Blake =C2=A0 eblake redhat com =C2=A0 =C2=A0+1-919-301-3266<br>
Libvirt virtualization library <a href=3D"http://libvirt.org" target=3D"_bl=
ank">http://libvirt.org</a><br>
<br>
<br><br>---------- Forwarded message ----------<br>From:=C2=A0Jean-Francois=
 Thuong &lt;<a href=3D"mailto:jean-francois.thuong@esterel-technologies.com=
">jean-francois.thuong@esterel-technologies.com</a>&gt;<br>To:=C2=A0<a href=
=3D"mailto:submit@debbugs.gnu.org">submit@debbugs.gnu.org</a><br>

Cc:=C2=A0<br>Date:=C2=A0Tue, 22 Jul 2014 14:59:43 +0800<br>Subject:=C2=A0Li=
nes are not ignored by option -I if they are followed by a line with a diff=
erence<br><div dir=3D"ltr"><div>Package:=C2=A0diffutils<br></div><div><div>=
Version: 3.3</div>

<div><br></div><div>When 2 (or more) consecutive lines are different betwee=
n the two compared files, they are ignored by option -I if all of them are =
ignored; if the last line is not ignored, all the lines are returned by dif=
f tool (instead of only the last line).<br>



</div><div><br></div><div>Although the documentation clearly indicates this=
 as nominal, it looks strange while looking at the results to have lines th=
at we supposed to have been ignored.</div><div><br></div><div><br></div>



------------------<br>To reproduce:<br>1. Create 2 files (e.g. File1.txt an=
d File2.txt) having 2 consecutive different lines (e.g. lines 2 and 3)<br>2=
. Run diff with option -I including a pattern matching line 2<br>3. Observe=
 that diff returns differences for both lines 2 and 3<br>



<br><br><div><span style=3D"font-family:arial,sans-serif;font-size:12.72727=
2033691406px">Note: the files attached could be used as an example with the=
 command line</span><br style=3D"font-family:arial,sans-serif;font-size:12.=
727272033691406px">



<span style=3D"font-family:arial,sans-serif;font-size:12.727272033691406px"=
>diff -I &quot;^IGNORE:.*</span><span style=3D"font-family:arial,sans-serif=
;font-size:12.727272033691406px"></span><span style=3D"font-family:arial,sa=
ns-serif;font-size:12.727272033691406px">quot; File1.txt File2.txt</span><b=
r style=3D"font-family:arial,sans-serif;font-size:12.727272033691406px">



<span style=3D"font-family:arial,sans-serif;font-size:12.727272033691406px"=
>The difference is as follows:</span><br style=3D"font-family:arial,sans-se=
rif;font-size:12.727272033691406px"><span style=3D"font-family:arial,sans-s=
erif;font-size:12.727272033691406px">2,3c2,3</span><br style=3D"font-family=
:arial,sans-serif;font-size:12.727272033691406px">



<span style=3D"font-family:arial,sans-serif;font-size:12.727272033691406px"=
>&lt; IGNORE: Line to be ignored with value =3D 1</span><br style=3D"font-f=
amily:arial,sans-serif;font-size:12.727272033691406px"><span style=3D"font-=
family:arial,sans-serif;font-size:12.727272033691406px">&lt; Different line=
 (version A)</span><br style=3D"font-family:arial,sans-serif;font-size:12.7=
27272033691406px">



<span style=3D"font-family:arial,sans-serif;font-size:12.727272033691406px"=
>---</span><br style=3D"font-family:arial,sans-serif;font-size:12.727272033=
691406px"><span style=3D"font-family:arial,sans-serif;font-size:12.72727203=
3691406px">&gt; IGNORE: Line to be ignored with value =3D 2</span><br style=
=3D"font-family:arial,sans-serif;font-size:12.727272033691406px">



<span style=3D"font-family:arial,sans-serif;font-size:12.727272033691406px"=
>&gt; Different line (version B)</span></div></div><div><br></div></div></b=
lockquote></div></div></div>

--089e0158b0d8497dd404fed7a120--




