weird diff/sdiff behaviour

Victor Sudakov vas at sibptus.ru
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:
http://admin.sibptus.ru/~vas/strange_diff.zip

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 http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20200826/1b0931ae/attachment.sig>


More information about the freebsd-questions mailing list