[Remind-Fans] RUN turns off

David F. Skoll dfs at roaringpenguin.com
Sun Aug 19 14:43:00 EDT 2001


On Sun, 19 Aug 2001, Letcher Ross wrote:

> REM May 14 +10 RUN i=`expr %y - 1962`; echo "%"Gary%" Ross is $i %v"; echo

You could do it like this:
REM MAY 15 +10 MSG %"Gary%" Ross is [year(trigdate()) - 1962] %v

> [letcher at stevens ~]$ remind /usr/local/lib/birthdays

> /usr/local/lib/birthdays(52): RUN disabled
> /usr/local/lib/birthdays(53): RUN disabled
> /usr/local/lib/birthdays(54): RUN disabled

Remind turns off RUN if the reminders file is not owned by you, or
is world-writable.

> Maybe my approach is wrong.  Can I calculate age without using RUN?

Yes; see my example above.

Regards,

David.





More information about the Remind-fans mailing list