Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 18 lines (14 sloc) 0.324 kb
#!/bin/bash
if [ -z "$1" ];
then
echo "usage: wid-update-mail user@example.com"
exit 1
fi
week=$(date +%V)
year=$(date +%Y)
subject="Weekly Update: $(date +"%A %B %d, %Y")"
message=/tmp/wid-update-mail-message
echo $subject > $message
wid update-show >> $message
/usr/bin/mail -s "$subject" $1 < $message
rm $message
Jump to Line
Something went wrong with that request. Please try again.