tags 323169 + upstream
forwarded 323169 [EMAIL PROTECTED]
thanks

On Mon, 2005-08-15 at 10:39 +0200, martin f krafft wrote:

 Hi,

[filtering non-diff lines]
> > uh, am I missing something or is filterdiff (without any options)
> > already doing exactly what you want?
> 
> Ah, excellent. Yes, it does that. However, it stops doing it when
> I pass e.g. the -x option.
> 
> cirrus:/tmp> wc -l boost.log.diff /etc/fstab
>   27 boost.log.diff
>   23 /etc/fstab
>   50 total
> cirrus:/tmp> cat boost.log.diff /etc/fstab | filterdiff -x bla | wc -l
> 50


hm, true, however this is exactly the documented behaviour:

 -x PATTERN
              Exclude files matching PATTERN. All other lines in the input are
              displayed.

Maybe it shouldn't do that unless -v is explicitly specified, or
alternatively there could be a negative version of -v (--no-verbose or
something).

For now there's a simple workaround: just do filterdiff |filterdiff -x
(or the other way round).

-Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to