Re: diff(1) Picks Different Lines with -u.

Paul Eggert <[email protected]>
Newsgroups gmane.comp.gnu.utils.bugs
Organization UCLA Computer Science Department
Message-ID <[email protected]>
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".)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.