tmux/tools/cmp-cvs.sh

13 lines
226 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
2020-05-16 19:27:00 +00:00
diff -u -I'\$OpenBSD' $i /usr/src/usr.bin/tmux/$i >diff.tmp
2009-06-25 16:54:21 +00:00
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