[Remind-Fans] Started getting "Expecting weekday name" with 04.03.04 on FreeBSD
Tim Chase
remind at tim.thechases.com
Mon May 13 20:28:43 EDT 2024
In case others hit this, I just did as system upgrade today including
the latest version of Remind in FreeBSD packages (04.03.04) and
started getting "Expecting weekday name" warnings on things that
have worked forever. For example:
$ cat ~/.reminders
REM Second Sat Nov OMIT SKIP MSG Veteran's Day Parade
$ remind -q ~/.reminders
/home/demo/.reminders(1): Expecting weekday name
No reminders.
I've stripped down to this minimal test-case:
REM Sat OMIT MSG Test
Using git-bisect, it pinpointed this commit:
$ git bisect bad
f4cce54b7085e6e6912f45197291e50bd1e7c54f is the first bad commit
commit f4cce54b7085e6e6912f45197291e50bd1e7c54f
Author: Dianne Skoll <dianne at skoll.ca>
Date: Sun Mar 3 11:00:35 2024 -0500
Warn if a local OMIT doesn't actually omit any weekdays.
src/dorem.c | 3 +++
1 file changed, 3 insertions(+)
If I read this right, the SKIP (or BEFORE or AFTER) keyword doesn't
require an inline OMIT, something I'd previously understood was
expected.
The solution is to simply remove the OMIT when there's no explicit
list of weekday names.
Anyways, here's hoping it saves someone else some head-scratching.
-tim
More information about the Remind-fans
mailing list