#hence if todays date is 09282001 in mmddyyyy format
dt='09282001'
#now store value of dt to a file
echo $dt>file1
#now cut value of today's date in variable v1
v1=`cut -c3-4 file1`
#now find out value of previous date by using expr command
v2=`expr $v1 -1`
#now prepare the full date by replacing 3rd and 4th chr of file1 by value of v1
#Of course you will also have to add validations for last date of months and #for february also
#hope expr command will help you