Subject: CVS commit: src/usr.bin/calendar
To: None <source-changes@NetBSD.org>
From: Jim Wise <jwise@netbsd.org>
List: source-changes
Date: 12/06/2004 20:38:43
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. CVS:
----------------------------------------------------------------------
To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 src/usr.bin/calendar/calendar.1
cvs rdiff -r1.34 -r1.35 src/usr.bin/calendar/calendar.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.