tmux/tools/cmp-cvs.sh

13 lines
212 B
Bash
Raw Normal View History

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