Merge branch 'obsd-master'
[tmux.git] / tools / cmp-cvs.sh
blob048ad15cacada4281a265cd574d34fe1fc00aaa2
1 #!/bin/ksh
3 rm diff.out
4 touch diff.out
6 for i in *.[ch]; do
7 diff -u -I'\$OpenBSD' $i /usr/src/usr.bin/tmux/$i >diff.tmp
8 set -- `wc -l diff.tmp`
9 [ $1 -eq 8 ] && continue
10 echo $i
11 cat diff.tmp >>diff.out
12 done