[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in diff
From: |
James Roy |
Subject: |
bug in diff |
Date: |
Tue, 29 Apr 2008 14:33:10 -0700 |
Exclusion of differing lines based on a RE seems to work only if the NEXT line
is the same in both files.
Here's an example of what I mean.
===============
address@hidden:~$ diff -I line zap zap2
3,4c3,4
< line 22
< y
---
> line 2
> z
address@hidden:~$ cat zap
line 11
x
line 22
y
address@hidden:~$ cat zap2
line 1
x
line 2
z
address@hidden:~$ diff -v
diff (GNU diffutils) 2.8.1
Copyright (C) 2002 Free Software Foundation, Inc.
=====================
My appologies if this is a known bug. First I've found, not sure how to
discover if it's old
--
Jim Roy
- bug in diff,
James Roy <=