[Remind-Fans] skip parsing lines that do not begin with rem command

David F. Skoll dfs at roaringpenguin.com
Mon Jun 8 13:57:38 EDT 2009


Millet wrote:

> Thanks for the reply David :)  I know I can comment the lines out,
> but I'm actually looking to modify the code that parses the .reminders
> file so that "tag breakfast msg eat cereal" defaults to being
> invisible/ignored unless assigned a time/date/delta.

That's a really bad idea.  What happens if "breakfast" becomes
a Remind command at some point in the future?

Anyway, you can do it with a script simply enough:

	grep -i '^rem ' | remind - ...

> I can probably
> figure this out through trial and error but I'm not sure which part of
> the code I should be looking at...

You shouldn't be looking at the code. :-)  Use UNIX tools!

Regards,

David.



More information about the Remind-fans mailing list