[Format recovered--see http://www.lemis.com/email/email-format.html]
Mutilated quotations. On Thursday, 21 August 2003 at 10:43:17 -0500, Charles Howse wrote: >>> OK, I jumped the gun here. >>> After browsing through some of the calendar.* files, I >> realize that it >>> sends an event for tomorrow if no event for today exists. >>> Sorry about that. :-) >>> >> >> From the man page:- >> >> The calendar utility checks the current directory for a file >> named calendar and displays lines that begin with either today's >> date or tomor- row's. On the day before a weekend (normally >> Friday), events for the next three days are displayed. > > I read the man page before I posted, but didn't understand what "either > today's date or tomorrow's." meant before I browsed the calendar.* > files. I thought it might be set to display tomorrow's date by default > and I needed to set it to display today's date. Here's what I use for the same purpose: #!/bin/sh # # Go through the calendars and find out what happened today. cd /usr/share/calendar (for i in /usr/share/calendar/calendar.*; do calendar -W -1 -f $i 2>/dev/null; done) | sort | uniq | mail -s "Today's anniversaries" grog Greg -- When replying to this message, please take care not to mutilate the original text. For more information, see http://www.lemis.com/email.html Finger [EMAIL PROTECTED] for PGP public key See complete headers for address and phone numbers
pgp00000.pgp
Description: PGP signature