[6131] in Athena Bugs
VAX 7.1H: calendar
daemon@ATHENA.MIT.EDU (Mark Rosenstein)
Fri Sep 28 22:01:24 1990
Date: Fri, 28 Sep 90 22:01:06 -0400
From: Mark Rosenstein <mar@MIT.EDU>
To: bugs@MIT.EDU
For the last 2 days, running calendar has yielded an error message:
Toto>calendar
egrep: regular expression too long
Toto>
/usr/bin/calendar is a shell script which uses the program
/usr/lib/calendar to generate a regular expression to pass to egrep.
/usr/lib/calendar is currently returning:
Toto>/usr/lib/calendar
(^|[ (,;])(([Ss]ep[^ ]*[ ]*|(09|9)/)0*28)([^0123456789]|$)
(^|[ (,;])((\*[ ]*)0*28)([^0123456789]|$)
(^|[ (,;])(([Ss]ep[^ ]*[ ]*|(09|9)/)0*29)([^0123456789]|$)
(^|[ (,;])((\*[ ]*)0*29)([^0123456789]|$)
(^|[ (,;])(([Ss]ep[^ ]*[ ]*|(09|9)/)0*30)([^0123456789]|$)
(^|[ (,;])((\*[ ]*)0*30)([^0123456789]|$)
(^|[ (,;])(([Oo]ct[^ ]*[ ]*|(010|10)/)0*1)([^0123456789]|$)
(^|[ (,;])((\*[ ]*)0*1)([^0123456789]|$)
Toto>
Which looks correct, but egrep doesn't like it. I don't know why this
would have changed recently.
-Mark