#!/bin/zsh URI=http://xxxxxxxx.dreamhosters.com/_svn_update.cgi SUBJ="SVN Update" TO=xxxxxxxxx@xxxxx.xxxxx (/usr/bin/curl -s -S "$URI?repos=$1&rev=$2") |& mail -s"$SUBJ" $TO