According to dmcanzi at watserv1.waterloo.edu (David Canzi): >if [ `date | sed 's/^... ... *\([^ ]*\) .*/\1/'` -le 7 ] At least on SysV, this is working too hard! Use this instead: if [ "`date +%d`" -le 7 ] Manual pages are wonderful things... -- Chip Salzenberg at ComDev/TCT <chip at tct.uucp>, <uunet!ateng!tct!chip>