tmate/tools/cmp-cvs.sh
Nicholas Marriott 166aa97f75 No more $Id$.
2015-09-14 15:59:21 +01:00

13 lines
212 B
Bash

#!/bin/ksh
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