> Basically what I these are supposed to do is to set to dates, the first for > the first day of the previous month and the second to set the last day of > the previous month. > > Here is what I have been using: > > DAYS=`date +%e` > let "XDAYS=DAYS -1" > FIRSTDAY=`date --date="$XDAYS days 1 month ago" +%d%m%y` >
XDAYS="-$(($DAYS-1))" ie: use a negative number for the days.. Chris- -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
