[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: diff(1) Picks Different Lines with -u.
From: |
Paul Eggert |
Subject: |
Re: diff(1) Picks Different Lines with -u. |
Date: |
Fri, 16 Mar 2012 22:34:00 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 |
On 03/16/2012 05:47 PM, Ralph Corderoy wrote:
> It is reasonable to expect -u to only change the output format and not
> which lines are reported as different?
diff tries to output "nice" hunks, and the question about which is
"nice" in general depends on the output format. (This is not to say
that what you actually observed was "nice".)