static char *sccsid
= "@(#)calendar.c 4.3 (Berkeley) 82/06/28";
/* /usr/lib/calendar produces an egrep -f file
that will select today's and tomorrow's
calendar entries, with special weekend provisions
printf("(^|[ (,;])((%s[^ ]* *|(0%d|%d)/)0*%d)([^0123456789]|$)\n",
tm
->tm_mon
+ 1, tm
->tm_mon
+ 1, tm
->tm_mday
);
printf("(^|[ (,;])((\\* *)0*%d)([^0123456789]|$)\n",
switch(localtime(&t
)->tm_wday
) {