tmux/tools/cmp-cvs.sh

13 lines
223 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
2017-05-31 15:34:39 +00:00
diff -u -I'\$OpenBSD' $i ../../OpenBSD/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