GNU bug report logs - #35214
[Bug][diff][3.3] diff showing difference when there is none

Previous Next

Package: diffutils;

Reported by: 方然 <ufo2243 <at> gmail.com>

Date: Wed, 10 Apr 2019 06:16:02 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 方然 <ufo2243 <at> gmail.com>
To: bug-diffutils <at> gnu.org
Subject: [Bug][diff][3.3] diff showing difference when there is none
Date: Wed, 10 Apr 2019 12:03:56 +0800
[Message part 1 (text/plain, inline)]
Hi,All:
    I think I encounter a bug about diff.
reproduce:

diff -w -B 3.log 4.log | grep '<' | grep -v 12

< 6 17 23

< 1 8 11

< 0 16 6

< 2 22 8

< 9 14 17

< 7 14 18

< 1 22 14

< 24 6 0

< 16 1 21

< 1 22 16

[image: image.png]
it is a same line! and if I delete some lines above and below this line
then diff again it shows no difference as I expect.
and not only this line all these lines in the first screenshot are same
lines but show difference in diff.
also use vimdiff to check. and show no difference in vimdiff.
[image: image.png]

the log file is attached in the mail.

Fang
[Message part 2 (text/html, inline)]
[image.png (image/png, inline)]
[image.png (image/png, inline)]
[4.log (application/octet-stream, attachment)]
[3.log (application/octet-stream, attachment)]

This bug report was last modified 6 years and 64 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.