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) 02/26/94
7#
8
9ext=${1-.OLD}
10
11for i in `find . -name \*${ext} | sed -e "s/..//" -e "s/${ext}$//" | sort`
12do
13	diff -c $i${ext} $i
14done
15