bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: extend diff3 to ignore whitespace differences - here's a patch


From: John Lumby
Subject: Re: extend diff3 to ignore whitespace differences - here's a patch
Date: Sun, 14 Dec 2003 20:01:29 -0500

Could one simply say that the result will be identical to each of the files as reported by diff -w?

John
----Original Message Follows----
From: Paul Eggert <address@hidden>
To: "John Lumby" <address@hidden>
CC: address@hidden
Subject: Re: extend diff3 to ignore whitespace differences - here's a patch
Date: 11 Dec 2003 11:43:11 -0800

The problem I see is that diff3 currently uses a mishmash of lines
from the three input lines, and it takes advantage of the fact that
when there is no difference, then the input lines have to be
identical.  Once you make it possible for the input lines to be
considered to be the same even when they differ, this implementation
model breaks down.  It's very hard to explain what the resulting
output will look like.

I don't see an easy answer to this problem, unfortunately.

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca





reply via email to

[Prev in Thread] Current Thread [Next in Thread]