#! /bin/sh cd /org/bugs.debian.org/bugscan rm pstatus-old mv pstatus pstatus-old now=`ls -al status | sed -e 's/.*-\([0-9]*\)/\1/'` ln -s stati/status-$now pstatus ./makepost > posts/post-$now cat <> posts/post-$now -- This post is automatically generated on a regular basis. Up-to-date information available at http://bugs.debian.org/release-critical/ Please send comments to bugscan@debian.org EOF cat posts/post-$now | \ mutt \ -e "my_hdr Reply-To: debian-devel@lists.debian.org,bugscan\@debian.org" \ -e "my_hdr From: BugScan reporter " \ -e "set send_charset='us-ascii:utf-8'" \ -e "set charset='utf-8'" \ -s "Release-critical Bugreport for `date +'%B %e, %Y'`" \ debian-devel-announce@lists.debian.org