[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-diffutils] Bug#625630: diffutils: diff --ignore-matching-lines
From: |
Santiago Vila |
Subject: |
Re: [bug-diffutils] Bug#625630: diffutils: diff --ignore-matching-lines doesn't ignore newlines if they near a different line (fwd) |
Date: |
Thu, 4 Aug 2011 17:54:58 +0200 (CEST) |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
BBOn Thu, 4 Aug 2011, Paul Eggert wrote:
11;2801;0c;2801;0c
> On 08/04/11 06:32, Santiago Vila wrote:
> > $ /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
>
> That's the expected behavior. The documentation says that
> --ignore-matching-lines
> only suppresses a difference if every changed line in the hunk matches the RE.
> Here, "y" does not match the RE, so the entire hunk is output. So I don't
> see a bug here.
Thanks a lot. Will close it, then.