# get the changes svn diff $CHLOG | \ egrep '^\+'| \ sed -e 's/^\+//g'| \ sed -e 's/^/ /g'| \ sed -e 's/^ \*/ \*/g'| \ egrep -v '^ \+\+.*ChangeLog' > /tmp/commit-msg echo echo "Committing with this message:" cat /tmp/commit-msg echo echo "Changed files:" stat.sh echo CWD=`pwd` svn commit --file /tmp/commit-msg $CHLOG $TODO $CWD && \ rm /tmp/commit-msg || \ echo "There was an error committing; message preserved."