# -*- sh -*- Url="http://menzies.us/lash" Xml="rss.xml" Q="\"" new() { gawk '/.*<\/id>/ { New = 0 + gensub(/^.*(.*)<\/id>.*$/,"\\1","g"); Max = (New > Max ? New : Max) } END {print ++Max}' - } Id=`cat $Xml | new` Here="${Url}/?${Id}" MonthYear=`date +"%b%y"` Secs=`date +"%s"` cat<<-EOF `for i in $*; do echo " $i"; done` ${Id} TITLE `date` LINK ${Id} DESCRIPTION

]]>
EOF