Subject: Re: CVS commit: src/usr.bin/calendar
To: None <>
From: =?ISO-8859-1?Q?Stefan_Kr=FCger?= <>
List: tech-userlevel
Date: 12/06/2004 20:51:50
Jim Wise wrote:
> Module Name:	src
> Committed By:	jwise
> Date:		Mon Dec  6 20:38:43 UTC 2004
> Modified Files:
> 	src/usr.bin/calendar: calendar.1 calendar.c
> Log Message:
> Play with calendar syntax a little, allowing both of month and day
> to be wildcarded.
> As a side effect, this allows '**' in the date field to match every
> day of the year, which is very useful for TODO items.
> It's important to note that the syntax has a lot of hardcoded (and
> undocumented) ambiguity resolution stuff, and is crying out for a
> simplification, and maybe some use of yacc and lex.
> When this is done, a minor flag day (and probably a compatibility
> flag :-( ) should be included, for current users who are making
> use of some of the corner cases.  I'll raise this on tech-userlevel
> before going there.

btw, did you consider replacing calendar w/ the one from openbsd or 
freebsd? they both seem to be more feature rich...

i.e. I can use things like

Easter+1 	Ostermontag
12/Sun+2	3. Advent
10/SunLast	Anfang der Winterzeit

there, so I don't have to care for the actual dates, free/openbsd's 
calendar is doing this for me, with netbsd's calendar, I have to correct 
the dates every year :-(