e40a6153 EA |
1 | #!/bin/sh |
2 | |
3 | # |
4 | # create a patch file by looking for .OLD files and doing the diffs |
5 | # |
6 | # @(#)makepatch.sh 8.1 (Berkeley) %G% |
7 | # |
8 | |
9 | ext=${1-.OLD} |
10 | |
11 | for i in `find . -name \*${ext} | sed -e "s/..//" -e "s/${ext}$//" | sort` |
12 | do |
13 | diff -c $i${ext} $i |
14 | done |