Setting up calendar alarms using a cron tab

e.g. for reminding anniversaries or yearly celebrations

vi dates.lst

01 05 anniv somebody 1st May born 19XX
05 01 another anniv 5th Jan born 20XX

crontab -l > cron
sed -r 's/^([^[:space:]])+[[:space:]]+([^[:space:]])+[[:space:]]+(.*)$/00 07 \1 \2 * echo "\3"/' dates.lst >> cron
cat cron
crontab < cron
crontab -l

note. assuming outgoing email has been setup.

ref. some ##sed freak on Freenode

trash

cut -f 3- INPUTFILE
awk '{for(i=3;i<=NF;++i)print $i}'

ref. https://stackoverflow.com/questions/1602035/how-to-print-third-column-to-last-column