[Remind-Fans] Function to extract the start of an UNTIL/THROUGH range?

Dianne Skoll dianne at skoll.ca
Wed Jul 13 14:05:19 EDT 2022


On Wed, 13 Jul 2022 17:25:49 +0000
Tim Chase via Remind-fans <remind-fans at lists.skoll.ca> wrote:

>   REM Jul 12 2022 THROUGH Jul 19 2022 \
>     MSG Runs [magic()] through [triguntil()]

trigfrom() works for me if you use a (redundant) FROM clause:

$ echo 'REM 2022-07-12 FROM 2022-07-12 THROUGH 2022-07-19 \
   MSG Runs [trigfrom()] through [triguntil()]' | remind -

Runs 2022-07-12 through 2022-07-19

which, I realize, is not a great answer.  One you'll like even less is:

    REM 2022-07-12 THROUGH 2022-07-19 MSG RUNS 2022-07-12 through 2022-07-19

In other words, don't be trickier than necessary. :)

Regards,

Dianne.


More information about the Remind-fans mailing list