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.
