--- a
+++ b/tools/cmp-cvs.sh
@@ -0,0 +1,12 @@
+# $Id$
+
+rm diff.out
+touch diff.out
+
+for i in *.[ch]; do
+    diff -u $i /usr/src/usr.bin/tmux/$i >diff.tmp
+    set -- `wc -l diff.tmp`
+    [ $1 -eq 8 ] && continue
+    echo $i
+    cat diff.tmp >>diff.out
+done