bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

diff - Odd behavior of opton --ignore-matching-lines


From: Jari Aalto
Subject: diff - Odd behavior of opton --ignore-matching-lines
Date: Wed, 22 Feb 2012 14:29:41 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Test under Bash:

    echo -e "1 2\n1" > a
    echo -e "2 3\n4" > b
    diff -u -I '2' a b

    =>

    -1 2
    -1
    +2 3
    +4

Isn't --ignore-matching-lines supposed to ignore all lines matching REGEXP
"2" above?

Jari




reply via email to

[Prev in Thread] Current Thread [Next in Thread]