weird diff/sdiff behaviour

Victor Sudakov vas at
Wed Aug 26 07:23:29 UTC 2020

Dear Colleagues,

Sorry for a non-FreeBSD-specific question, it's rather a generic
question to users of Unix utilities.

I have two reports which are different only in numbers:

However diff, sdiff, meld and some other tools think that there are line
insertions and deletions. Only kdiff3 displays the differences correctly.

I've been unable to find the cause while comparing the files visually in
vim. Also if you paste(1) the two files, you see that the text is
identical in the lines, as is the number of lines per wc(1).

If you have a couple of minutes of leasure time, can you please look?

Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <>

More information about the freebsd-questions mailing list