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

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

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


From: Eli Zaretskii
Subject: Re: diff - Odd behavior of opton --ignore-matching-lines
Date: Thu, 23 Feb 2012 18:48:23 +0200

> Date: Thu, 23 Feb 2012 09:50:21 +0200
> From: jaalto <address@hidden>
> Cc: address@hidden
> 
> | > Isn't --ignore-matching-lines supposed to ignore all lines matching REGEXP
> | > "2" above?
> | 
> | No.  From "diff --help":
> | 
> |   -I RE  --ignore-matching-lines=RE  Ignore changes whose lines all match 
> RE.
> |                                                                 ^^^
> 
> Hm. That's not clear still. I wouldn't know: all what?

All lines, obviously.

>        -I, --ignore-matching-lines=RE
>               ignore changes whose lines all match RE. 
> 
> => Does it mean like this?
> 
>        -I, --ignore-matching-lines=RE
>               ignore changes whose lines all match RE. This means that
>             all lines in hunk from FILE1 and FILE2 must match this
>             regexp in order for the whole hunk to be ignored.

Yes.



reply via email to

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