Re: Calendar program dates
[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 pgp0.pgp Description: PGP signature
RE: Calendar program dates
> > 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. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Calendar program dates
On Thu, 21 Aug 2003 22:48, Charles Howse wrote: > > Hi, > > I've got the calendar program emailing me events that > > occurred (supposedly) today in history. > > > > However, it's listing events that occurred tomorrow. Is that normal? > > The date is correct on my system and the email date is correct. > > 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. Malcolm ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Calendar program dates
> Hi, > I've got the calendar program emailing me events that > occurred (supposedly) today in history. > > However, it's listing events that occurred tomorrow. Is that normal? > The date is correct on my system and the email date is correct. 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. :-) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Calendar program dates
Hi, I've got the calendar program emailing me events that occurred (supposedly) today in history. However, it's listing events that occurred tomorrow. Is that normal? The date is correct on my system and the email date is correct. Thanks, Charles ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"