Re: Check day of week?1996-10-09 03:42:01On 9 Oct 1996, Robert Nicholson wrote: Somebody will have a better example but you can use the "date" command. You might have you use some of the formatting if you date supports that. date | awk '{ print $1 }' How about this: DAY=`date | sed -e 's/ .*//'` :0fdw | formail -I"X-Date: $DAY" :0 *^X-Date: (Mon|Wed|Fri) !work :0 E !school Or some variant thereof. -- Give your child mental blocks for Christmas.
|
|