mirror of
https://github.com/postgres/postgres.git
synced 2026-03-14 14:42:30 -04:00
12 lines
205 B
Text
12 lines
205 B
Text
|
|
:
|
||
|
|
if [ "$#" -eq 0 ]
|
||
|
|
then APATH="."
|
||
|
|
else APATH="$1"
|
||
|
|
fi
|
||
|
|
find $APATH -name '*.orig' -print | sort | while read FILE
|
||
|
|
do
|
||
|
|
NEW="`dirname $FILE`/`basename $FILE .orig`"
|
||
|
|
echo "$NEW" 1>&2
|
||
|
|
diff -c $FILE $NEW
|
||
|
|
done
|