#!/bin/sh REPO="http://dev.splitbrain.org/darcs/dokuwiki"; MAIL="dokuwiki@freelists.org" TODAY=`date '+%Y-%m-%d'` CHANGES=`darcs changes --matches 'date yesterday' --repo $REPO 2>/dev/null` if [ "$CHANGES" != "" ]; then #spam protect emails: CHANGES=`echo "$CHANGES" |sed -e 's/@/[at]/g'` echo " Good Morning! This are the darcs changes for DokuWiki committed yesterday. Please test them and report bugs. --------------------------------------------------------------------- $CHANGES --------------------------------------------------------------------- Single patches can be downloaded from http://dev.splitbrain.org/darcs/index.cgi/dokuwiki/?c=patches Bye, your darcs changelog mailer " | mail -s "darcs changes $TODAY" $MAIL fi