Here is my catch all solution for diffs. Whenever I change a file,
I copy it on filename.orig. When you run the script from the
pg directory, it will create a file "this.patch" containing a
diff for everything that changed...
mjl
- ----
#!/bin/csh
rm -f this.patch
touch this.patch
foreach n (`find . -name \*.orig -print`)
set x=`dirname $n`/`basename $n .orig`
if( -z $n ) then
set n='/dev/null'
endif
echo "Diffing $x against $n"
diff -abcdp $n $x >> this.patch
rm -f $n
cp $x $x.new
end
------------------------------