Your message dated Thu, 4 Aug 2011 15:32:52 +0200 (CEST)
with message-id <alpine.deb.2.00.1108041530220.10...@cantor.unex.es>
has caused the report #625630,
regarding diffutils: diff --ignore-matching-lines doesn't ignore newlines if
they near a different line
to be marked as having been forwarded to the upstream software
author(s) bug-diffut...@gnu.org
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
625630: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625630
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Hello.
Received this from the Debian bug system.
Sorry for the delay in processing it. I have checked and it may still be
reproduced with diffutils 3.0.50 from git.
Thanks.
---------- Forwarded message ----------
From: Bekir Dogan <beki...@gmail.com>
To: Debian Bug Tracking System <sub...@bugs.debian.org>
Date: Wed, 04 May 2011 19:30:37 +0300
Subject: Bug#625630: diffutils: diff --ignore-matching-lines doesn't ignore
newlines if they near a different line
Package: diffutils
Version: 1:3.0-1
Severity: normal
This example reports nothing different, really ignores lines with 'xxx' as
expected:
$ /usr/bin/diff --ignore-matching-lines='^xxx.*$' <(echo -e
'aaa\nbbb\nccc\nddd\nxxx\neee\nxxx\nfff') <(echo -e
'aaa\nbbb\nccc\nddd\neee\nfff')
But this example reports the first 'xxx' line as difference near the other
different line ('y'), and does not report the second 'xxx' line:
$ /usr/bin/diff --ignore-matching-lines='^xxx.*$' <(echo -e
'aaa\nbbb\nccc\nddd\nxxx\ny\neee\nxxx\nfff') <(echo -e
'aaa\nbbb\nccc\nddd\neee\nfff')
5,6d4
< xxx
< y
Expected result should be like this:
$ /usr/bin/diff --ignore-matching-lines='^xxx.*$' <(echo -e
'aaa\nbbb\nccc\nddd\nxxx\ny\neee\nxxx\nfff') <(echo -e
'aaa\nbbb\nccc\nddd\neee\nfff')
6d5
< y
[...]
--- End Message ---