month=`date +%b | tr A-Z a-z`; #get month abbrev and lowercase cd $month; #change directory rm test.shtml; # write to nscentral xsltproc ../scripts/nsFlash.xsl $month.xml > test.shtml; rm pda.shtml; #write to pda xsltproc ../scripts/palm.xsl $month.xml > pda.shtml; cp -i pda.shtml ../../pda.shtml; rm rss.xml; #write to rss xsltproc ../scripts/feed.xsl $month.xml > rss.xml; cp -i rss.xml ../../rss.xml; #date +%m%d > $today; today=`date +%m%d`; #backticks save out of date command cp test.shtml $today.shtml;