How about something like:

if [ $(date -d tomorrow +%m) == $(date +%m) ] ; then
   echo "Not the end of the month"
else
   echo "End of the month"
fi


HTH,
your pal dave

-- 
Dave Thayer
Denver, Colorado USA
[EMAIL PROTECTED]

Reply via email to