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

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

Re: [GNU diff] new (?) conditional diff functionality


From: Paul Eggert
Subject: Re: [GNU diff] new (?) conditional diff functionality
Date: 29 Oct 2003 07:32:43 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Frédéric Conrotte <address@hidden> writes:

> I'd like to do some "diff" between old and new sources
> where diff reports differences only IF the new source's code line
> includes this tag.

diff doesn't do that now.  It does have an -I option, though, which
may do some of what you want: it ignores changes whose lines all match
a pattern.  If you can write a pattern that matches all lines not
containing the tag, then you're partway there.




reply via email to

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