1 subject="$1" 2 summary="$2" 3 diffs="$3" 4 5 MAILFILE="/usr/local/build/valgrind/results/$(date +%d-%b-%Y.%R)" 6 7 echo "Subject: $subject" > $MAILFILE 8 echo "To: valgrind-testresults (a] lists.sourceforge.net" >> $MAILFILE 9 echo "Bcc: valgrind (a] wildebeest.org" >> $MAILFILE 10 echo >> $MAILFILE 11 12 cat "$summary" >> $MAILFILE 13 echo " " >> $MAILFILE 14 cat "$diffs" >> $MAILFILE 15 16 /usr/sbin/sendmail -t -i -fmark (a] builder.wildebeest.org < $MAILFILE 17