From MAILER-DAEMON Wed Dec 12 12:47:09 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TiqOj-0008D5-1e
	for mharc-bug-diffutils@gnu.org; Wed, 12 Dec 2012 12:47:09 -0500
Received: from eggs.gnu.org ([208.118.235.92]:33456)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <marek_81@hotmail.com>) id 1TipHh-0007QZ-68
	for bug-diffutils@gnu.org; Wed, 12 Dec 2012 11:35:56 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <marek_81@hotmail.com>) id 1TipHZ-0006vt-Cl
	for bug-diffutils@gnu.org; Wed, 12 Dec 2012 11:35:49 -0500
Received: from col0-omc3-s2.col0.hotmail.com ([65.55.34.140]:5886)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <marek_81@hotmail.com>) id 1TipHZ-0006vX-7C
	for bug-diffutils@gnu.org; Wed, 12 Dec 2012 11:35:41 -0500
Received: from COL125-W47 ([65.55.34.136]) by col0-omc3-s2.col0.hotmail.com
	with Microsoft SMTPSVC(6.0.3790.4675); 
	Wed, 12 Dec 2012 08:35:40 -0800
X-Originating-IP: [62.119.150.196]
X-EIP: [YSazivabLOspS66oFGvvQBO5GKkK53z9]
X-Originating-Email: [marek_81@hotmail.com]
Message-ID: <COL125-W4785C5E3E905BAFDFC8722E94F0@phx.gbl>
Content-Type: multipart/alternative;
	boundary="_8e0e8ecd-5770-4bc8-a111-cb32b8be73a1_"
From: M N <marek_81@hotmail.com>
To: <bug-diffutils@gnu.org>
Date: Wed, 12 Dec 2012 16:35:39 +0000
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 12 Dec 2012 16:35:40.0331 (UTC)
	FILETIME=[B8EC17B0:01CDD886]
X-detected-operating-system: by eggs.gnu.org: Windows XP
X-Received-From: 65.55.34.140
X-Mailman-Approved-At: Wed, 12 Dec 2012 12:47:08 -0500
Subject: [bug-diffutils] Unexpected behaviour in diff tool?
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
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, 12 Dec 2012 16:35:56 -0000

--_8e0e8ecd-5770-4bc8-a111-cb32b8be73a1_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hi


I'm trying to use the diff-tool and i've come across something which looks =
like an unexpected behaviour to me.

Consider the following example



File1

row1 same

row2 diffX

row3 diffY

row4 same

row5 diffZ



File2

row1 same

row2 diffXX

row3 diffYY

row4 same

row5 diffZZ



And then the following comand to compare the files but exclude lines 3 and =
5=20



$ diff -I 'row3' -I 'row5' file1 file2

2=2C3c2=2C3

< row2 diffX

< row3 diffY

---

> row2 diffXX

> row3 diffYY



Analysis of the output report

row1 - OK=2C no diff

row2 - OK=2C there was a diff and its been reported

row3 - Not OK=2C there is a diff here yes=2C but it should be excluded sinc=
e the -I flag was set

row4 - OK=2C no diff

row5 - OK=2C there was a diff but it's been ignored by the -I flag



My conclusion from this is that once a diff is found=2C the tool ignores=20
all characters until a new row match is found=2C thus ignoring the -I=20
flag?



To me this looks like unexpected behaviour. What do you guys think?



Regards

Marek 		 	   		  =

--_8e0e8ecd-5770-4bc8-a111-cb32b8be73a1_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Tahoma
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>
Hi<br><br>
I'm trying to use the diff-tool and i've come across something which looks =
like an unexpected behaviour to me.<br><br>Consider the following example<b=
r>
<br>
<b>File1</b><br>
row1 same<br>
row2 diffX<br>
row3 diffY<br>
row4 same<br>
row5 diffZ<br>
<br>
<b>File2</b><br>
row1 same<br>
row2 diffXX<br>
row3 diffYY<br>
row4 same<br>
row5 diffZZ<br>
<br>
And then the following comand to compare the files but exclude lines 3 and =
5 <br>
<br>
$ diff -I 'row3' -I 'row5' file1 file2<br>
2=2C3c2=2C3<br>
&lt=3B row2 diffX<br>
&lt=3B row3 diffY<br>
---<br>
&gt=3B row2 diffXX<br>
&gt=3B row3 diffYY<br>
<br>
Analysis of the output report<br>
row1 - OK=2C no diff<br>
row2 - OK=2C there was a diff and its been reported<br>
row3 - Not OK=2C there is a diff here yes=2C but it should be excluded sinc=
e the -I flag was set<br>
row4 - OK=2C no diff<br>
row5 - OK=2C there was a diff but it's been ignored by the -I flag<br>
<br>
My conclusion from this is that once a diff is found=2C the tool ignores=20
all characters until a new row match is found=2C thus ignoring the -I=20
flag?<br>
<br>
To me this looks like unexpected behaviour. What do you guys think?<br>
<br>
Regards<br>
Marek 		 	   		  </div></body>
</html>=

--_8e0e8ecd-5770-4bc8-a111-cb32b8be73a1_--


From MAILER-DAEMON Wed Dec 12 15:01:44 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TisUy-0004PT-C9
	for mharc-bug-diffutils@gnu.org; Wed, 12 Dec 2012 15:01:44 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37523)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TisUq-000477-Hu
	for bug-diffutils@gnu.org; Wed, 12 Dec 2012 15:01:42 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TisUp-0006z7-FQ
	for bug-diffutils@gnu.org; Wed, 12 Dec 2012 15:01:36 -0500
Received: from smtp.cs.ucla.edu ([131.179.128.62]:51266)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TisUp-0006yv-9j
	for bug-diffutils@gnu.org; Wed, 12 Dec 2012 15:01:35 -0500
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 5FFDF39E8106;
	Wed, 12 Dec 2012 12:01:34 -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 hjp-yZ9sscDE; Wed, 12 Dec 2012 12:01:34 -0800 (PST)
Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 1F0ED39E8100;
	Wed, 12 Dec 2012 12:01:34 -0800 (PST)
Message-ID: <50C8E29D.7030700@cs.ucla.edu>
Date: Wed, 12 Dec 2012 12:01:33 -0800
From: Paul Eggert <eggert@cs.ucla.edu>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: M N <marek_81@hotmail.com>
References: <COL125-W4785C5E3E905BAFDFC8722E94F0@phx.gbl>
In-Reply-To: <COL125-W4785C5E3E905BAFDFC8722E94F0@phx.gbl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] Unexpected behaviour in diff tool?
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
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, 12 Dec 2012 20:01:42 -0000

-I ignores only if all the lines in the hunk are matched.
I think that explains the behavior you observed.


From MAILER-DAEMON Thu Dec 13 04:38:26 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tj5FK-0002rR-Hb
	for mharc-bug-diffutils@gnu.org; Thu, 13 Dec 2012 04:38:26 -0500
Received: from eggs.gnu.org ([208.118.235.92]:41708)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <marek_81@hotmail.com>) id 1Tj5FF-0002pm-0u
	for bug-diffutils@gnu.org; Thu, 13 Dec 2012 04:38:24 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <marek_81@hotmail.com>) id 1Tj5FC-0001l9-7o
	for bug-diffutils@gnu.org; Thu, 13 Dec 2012 04:38:20 -0500
Received: from col0-omc1-s12.col0.hotmail.com ([65.55.34.22]:44149)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <marek_81@hotmail.com>) id 1Tj5FC-0001l4-2S
	for bug-diffutils@gnu.org; Thu, 13 Dec 2012 04:38:18 -0500
Received: from COL125-W6 ([65.55.34.9]) by col0-omc1-s12.col0.hotmail.com with
	Microsoft SMTPSVC(6.0.3790.4675); Thu, 13 Dec 2012 01:38:17 -0800
X-Originating-IP: [62.119.150.196]
X-EIP: [M9AqGFkjZ9oTtzkompi/uwMmJ5CyzQFu]
X-Originating-Email: [marek_81@hotmail.com]
Message-ID: <COL125-W65902970264836D3207DEE94E0@phx.gbl>
Content-Type: multipart/alternative;
	boundary="_9502c3a0-08a4-4977-8cdf-e6468dc7ac78_"
From: M N <marek_81@hotmail.com>
To: <eggert@cs.ucla.edu>
Date: Thu, 13 Dec 2012 09:38:16 +0000
Importance: Normal
In-Reply-To: <50C8E29D.7030700@cs.ucla.edu>
References: <COL125-W4785C5E3E905BAFDFC8722E94F0@phx.gbl>,
	<50C8E29D.7030700@cs.ucla.edu>
MIME-Version: 1.0
X-OriginalArrivalTime: 13 Dec 2012 09:38:17.0402 (UTC)
	FILETIME=[949621A0:01CDD915]
X-detected-operating-system: by eggs.gnu.org: Windows XP
X-Received-From: 65.55.34.22
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] Unexpected behaviour in diff tool?
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
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: Thu, 13 Dec 2012 09:38:25 -0000

--_9502c3a0-08a4-4977-8cdf-e6468dc7ac78_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hi

Thank you for your reply.

So what you are saying is that: If -I is used=2C and a diff is found on a l=
ine=2C all lines after=2C and until another matching one is found=2C are tr=
eated as one diffed chunk=2C thus ignoring the -I flag?

Could you please give me an example of how to use the tool. Im reposting my=
 example bellow. I would like to get a diff report on row2 and nothing else


File1

row1 same

row2 diffX

row3 diffY

row4 same

row5 diffZ



File2

row1 same

row2 diffXX

row3 diffYY

row4 same

row5 diffZZ



And then the following comand to compare the files but exclude lines 3 and =
5=20



$ diff -I 'row3' -I 'row5' file1 file2

2=2C3c2=2C3

< row2 diffX

< row3 diffY

---

> row2 diffXX

> row3 diffYY

Regards
Marek

> Date: Wed=2C 12 Dec 2012 12:01:33 -0800
> From: eggert@cs.ucla.edu
> To: marek_81@hotmail.com
> CC: bug-diffutils@gnu.org
> Subject: Re: [bug-diffutils] Unexpected behaviour in diff tool?
>=20
> -I ignores only if all the lines in the hunk are matched.
> I think that explains the behavior you observed.
 		 	   		  =

--_9502c3a0-08a4-4977-8cdf-e6468dc7ac78_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Tahoma
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>
Hi<br><br>Thank you for your reply.<br><br>So what you are saying is that: =
If -I is used=2C and a diff is found on a line=2C all lines after=2C and un=
til another matching one is found=2C are treated as one diffed chunk=2C thu=
s ignoring the -I flag?<br><br>Could you please give me an example of how t=
o use the tool. Im reposting my example bellow. I would like to get a diff =
report on row2 and nothing else<br><br><br><b>File1</b><br>
row1 same<br>
row2 diffX<br>
row3 diffY<br>
row4 same<br>
row5 diffZ<br>
<br>
<b>File2</b><br>
row1 same<br>
row2 diffXX<br>
row3 diffYY<br>
row4 same<br>
row5 diffZZ<br>
<br>
And then the following comand to compare the files but exclude lines 3 and =
5 <br>
<br>
$ diff -I 'row3' -I 'row5' file1 file2<br>
2=2C3c2=2C3<br>
&lt=3B row2 diffX<br>
&lt=3B row3 diffY<br>
---<br>
&gt=3B row2 diffXX<br>
&gt=3B row3 diffYY<br><br>Regards<br>Marek<br><br><div><div id=3D"SkyDriveP=
laceholder"></div>&gt=3B Date: Wed=2C 12 Dec 2012 12:01:33 -0800<br>&gt=3B =
From: eggert@cs.ucla.edu<br>&gt=3B To: marek_81@hotmail.com<br>&gt=3B CC: b=
ug-diffutils@gnu.org<br>&gt=3B Subject: Re: [bug-diffutils] Unexpected beha=
viour in diff tool?<br>&gt=3B <br>&gt=3B -I ignores only if all the lines i=
n the hunk are matched.<br>&gt=3B I think that explains the behavior you ob=
served.<br></div> 		 	   		  </div></body>
</html>=

--_9502c3a0-08a4-4977-8cdf-e6468dc7ac78_--


From MAILER-DAEMON Thu Dec 13 12:41:24 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjCmi-0003OX-Ny
	for mharc-bug-diffutils@gnu.org; Thu, 13 Dec 2012 12:41:24 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49843)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TjCmb-0003FY-GP
	for bug-diffutils@gnu.org; Thu, 13 Dec 2012 12:41:23 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TjCmV-0008Ah-Iz
	for bug-diffutils@gnu.org; Thu, 13 Dec 2012 12:41:17 -0500
Received: from smtp.cs.ucla.edu ([131.179.128.62]:44582)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TjCmV-0008AZ-D0
	for bug-diffutils@gnu.org; Thu, 13 Dec 2012 12:41:11 -0500
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id EE98FA60002;
	Thu, 13 Dec 2012 09:41:09 -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 4Ur-P6NZO-N0; Thu, 13 Dec 2012 09:41:09 -0800 (PST)
Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 9E83C39E8100;
	Thu, 13 Dec 2012 09:41:09 -0800 (PST)
Message-ID: <50CA1330.10304@cs.ucla.edu>
Date: Thu, 13 Dec 2012 09:41:04 -0800
From: Paul Eggert <eggert@cs.ucla.edu>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: M N <marek_81@hotmail.com>
References: <COL125-W4785C5E3E905BAFDFC8722E94F0@phx.gbl>,
	<50C8E29D.7030700@cs.ucla.edu>
	<COL125-W65902970264836D3207DEE94E0@phx.gbl>
In-Reply-To: <COL125-W65902970264836D3207DEE94E0@phx.gbl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] Unexpected behaviour in diff tool?
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
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: Thu, 13 Dec 2012 17:41:23 -0000

On 12/13/12 01:38, M N wrote:
> ignoring the -I flag?

It's not ignoring the -I flag.  It's merely a question of what -I means.

>  I would like to get a diff report on row2 and nothing else

I don't quite follow, but most likely the problem is that
diff doesn't do exactly what you want, which means you need
to change diff's input, or to modify diff, or to use some
other tool.


From MAILER-DAEMON Fri Dec 28 11:53:16 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TodBM-0005uv-Li
	for mharc-bug-diffutils@gnu.org; Fri, 28 Dec 2012 11:53:16 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49063)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@mpuppe.de>) id 1Toc61-0003cr-IB
	for bug-diffutils@gnu.org; Fri, 28 Dec 2012 10:43:51 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@mpuppe.de>) id 1Toc5x-0001cs-OM
	for bug-diffutils@gnu.org; Fri, 28 Dec 2012 10:43:41 -0500
Received: from wp183.webpack.hosteurope.de ([80.237.132.190]:34897)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@mpuppe.de>) id 1Toc5x-0001ce-Ht
	for bug-diffutils@gnu.org; Fri, 28 Dec 2012 10:43:37 -0500
Received: from mail-la0-f44.google.com ([209.85.215.44]); authenticated
	by wp183.webpack.hosteurope.de running ExIM with esmtpsa
	(TLS1.0:RSA_ARCFOUR_SHA1:16)
	id 1Toc5u-0004Mb-Qh; Fri, 28 Dec 2012 16:43:34 +0100
Received: by mail-la0-f44.google.com with SMTP id fr10so991079lab.17
	for <bug-diffutils@gnu.org>; Fri, 28 Dec 2012 07:43:34 -0800 (PST)
MIME-Version: 1.0
Received: by 10.112.40.197 with SMTP id z5mr12845375lbk.14.1356709414228; Fri,
	28 Dec 2012 07:43:34 -0800 (PST)
Received: by 10.112.36.226 with HTTP; Fri, 28 Dec 2012 07:43:34 -0800 (PST)
Date: Fri, 28 Dec 2012 16:43:34 +0100
Message-ID: <CADV0D-aAxjybSc-tKiiaaeURKkB97f_gEhYO_z2xuOM3ZiF1oQ@mail.gmail.com>
From: Martin Puppe <mail@mpuppe.de>
To: bug-diffutils@gnu.org
Content-Type: multipart/alternative; boundary=f46d0421a789b2d2e804d1eb8650
X-bounce-key: webpack.hosteurope.de;mail@mpuppe.de;1356709417;cccf3f6f;
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 80.237.132.190
X-Mailman-Approved-At: Fri, 28 Dec 2012 11:53:15 -0500
Subject: [bug-diffutils] Addition of a single line,
	diff thinks whole file has changed
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
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: Fri, 28 Dec 2012 15:43:52 -0000

--f46d0421a789b2d2e804d1eb8650
Content-Type: text/plain; charset=ISO-8859-1

See
https://github.com/puppe/resumeLater/commit/3f3da85d519ee06a64534fe329bba1610a2293db

Of course, I don't know whether github actually uses GNU diffutils, but I
get the same result on Ubuntu 12.04 with diffutils 3.2

--f46d0421a789b2d2e804d1eb8650
Content-Type: text/html; charset=ISO-8859-1

<div dir="ltr">See<br><div><div><div><a href="https://github.com/puppe/resumeLater/commit/3f3da85d519ee06a64534fe329bba1610a2293db">https://github.com/puppe/resumeLater/commit/3f3da85d519ee06a64534fe329bba1610a2293db</a><br>
<br>Of course, I don&#39;t know whether github actually uses GNU diffutils, but I get the same result on Ubuntu 12.04 with diffutils 3.2<br></div></div></div></div>

--f46d0421a789b2d2e804d1eb8650--


From MAILER-DAEMON Fri Dec 28 12:02:01 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TodJp-0000S2-Sn
	for mharc-bug-diffutils@gnu.org; Fri, 28 Dec 2012 12:02:01 -0500
Received: from eggs.gnu.org ([208.118.235.92]:35514)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TodJn-0000Ql-8C
	for bug-diffutils@gnu.org; Fri, 28 Dec 2012 12:02:01 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TodJf-0006Fb-Uj
	for bug-diffutils@gnu.org; Fri, 28 Dec 2012 12:01:59 -0500
Received: from smtp.cs.ucla.edu ([131.179.128.62]:44334)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TodJf-0006FX-Oo
	for bug-diffutils@gnu.org; Fri, 28 Dec 2012 12:01:51 -0500
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 22779A60005;
	Fri, 28 Dec 2012 09:01:51 -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 CgQ8+I0qeV8B; Fri, 28 Dec 2012 09:01:50 -0800 (PST)
Received: from [192.168.1.9] (pool-71-189-154-249.lsanca.fios.verizon.net
	[71.189.154.249])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 494D6A60001;
	Fri, 28 Dec 2012 09:01:50 -0800 (PST)
Message-ID: <50DDD07E.8020007@cs.ucla.edu>
Date: Fri, 28 Dec 2012 09:01:50 -0800
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Martin Puppe <mail@mpuppe.de>
References: <CADV0D-aAxjybSc-tKiiaaeURKkB97f_gEhYO_z2xuOM3ZiF1oQ@mail.gmail.com>
In-Reply-To: <CADV0D-aAxjybSc-tKiiaaeURKkB97f_gEhYO_z2xuOM3ZiF1oQ@mail.gmail.com>
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-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] Addition of a single line,
 diff thinks whole file has changed
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
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: Fri, 28 Dec 2012 17:02:01 -0000

On 12/28/2012 07:43 AM, Martin Puppe wrote:

> https://github.com/puppe/resumeLater/commit/3f3da85d519ee06a64534fe329bba1610a2293db
>
> I don't know whether github actually uses GNU diffutils

It doesn't.

> I get the same result on Ubuntu 12.04 with diffutils 3.2

That's because every line did indeed change.
Try running the 'od' command on the old and new versions.


