tmate/tools/cmp-cvs.sh

13 lines
212 B
Bash
Raw Normal View History

2015-09-14 16:59:21 +02:00
#!/bin/ksh
2009-06-25 18:54:21 +02:00
rm diff.out
touch diff.out
2009-06-25 18:49:22 +02:00
for i in *.[ch]; do
2009-06-25 18:54:21 +02:00
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
2009-06-25 18:49:22 +02:00
done