I made a few minor chnages and now the diff bash script should put all the new files into the patch as well, while naming the old files with the '.orig' suffix
virtual7:# cat diffOMatic.sh #Takes two arguments which are old/ and new/ respectively diffOMatic() { ( cd $2/; find . -type f ) | while read f; do #echo $f if [ -f "$1/$f" ]; then cp -n $1/$f "$2/$f".orig fi; touch "$2/$f".orig ( cd $2/; diff --ignore-all-space -u "$f".orig $f; ) rm "$2/$f".orig done } diffOMatic work/FFFF323-src/ FFFF323-src/ _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"