$ cat b
#
# ORIG: 2014-12-04 09:28:56 CST Thu
#
# $Id: a,v 1.8 2014/12/04 15:29:27 todd Exp $
#
a
c
D
e
############################################################
$ diff -v
diff (GNU diffutils) 2.8.1
Copyright (C) 2002 Free Software Foundation, Inc.
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Written by Paul Eggert, Mike Haertel, David Hayes,
Richard Stallman, and Len Tower.
############################################################
$ diff -U1 a b
--- a 2014-12-08 16:07:05.974621828 -0600
+++ b 2014-12-08 16:07:09.693672957 -0600
@@ -3,8 +3,7 @@
#
- # $Id: a,v 1.8 2014/12/04 15:29:99 todd Exp todd $
+ # $Id: a,v 1.8 2014/12/04 15:29:27 todd Exp $
#
a
-b
c
-d
+D
e
$ diff -U1 --ignore-matching-lines='Id' a b
--- a 2014-12-08 16:07:05.974621828 -0600
+++ b 2014-12-08 16:07:09.693672957 -0600
@@ -6,5 +6,4 @@
a
-b
c
-d
+D
e
############################################################
$ diff -U2 --ignore-matching-lines='Id' a b
--- a 2014-12-08 16:07:05.974621828 -0600
+++ b 2014-12-08 16:07:09.693672957 -0600
@@ -5,6 +5,5 @@
#
a
-b
c
-d
+D
e
############################################################
$ diff -U3 --ignore-matching-lines='Id' a b
--- a 2014-12-08 16:07:05.974621828 -0600
+++ b 2014-12-08 16:07:09.693672957 -0600
@@ -1,10 +1,9 @@
#
# ORIG: 2014-12-04 09:28:56 CST Thu
#
- # $Id: a,v 1.8 2014/12/04 15:29:99 todd Exp todd $
+ # $Id: a,v 1.8 2014/12/04 15:29:27 todd Exp $
#
a
-b
c
-d
+D
e
############################################################