#!/bin/sh
(
find linux -follow -name '*~' -print | while read f
do
old=$f
new=`echo $f|cut -d~ -f1`
echo "diff -urN $old $new"
diff -urNs $old $new
done
)| gzip -f -9
This assumes, that I keep backups of the original files by adding a '~'
to their name and if adding new files to create an empty file with the '~'
appended. This way I don't have to keep two source-trees.
-- Bye, Jojoemail: work SCHMITZ_JOACHIM@Tandem.COM home Joachim_Schmitz@D.maus.de