[Remind-Fans] how to keep .reminders file clean?

Daniel A Graham daniel.graham at duke.edu
Sun Jan 27 22:59:08 EST 2008


David,

Running remind with the -n switch and an arbitrary date gives a list of 
the next occurrence of all reminders that occur or repeat after the 
given date. If it were possible to add the -l switch to get the 
associated file and line number information then it would be possible, 
by elimination, to get a list of the file and line numbers of reminders 
that do not occur or repeat after the given date. These could then be 
either archived or deleted.  Might it be possible to have a switch that 
would give the file and line numbers of reminders that do not repeat 
after a specified date?

-Dan

On Sun, 27 Jan 2008 18:49:45 -0500, David F. Skoll wrote:
> Paul Pelzl wrote:
> 
>> I would strongly advise against this sort of design.  At the moment
>> Remind operates on reminder files in a read-only fashion, which gives me
>> a nice, warm, safe feeling.  Moving to a read/write model would vastly
>> increase the chance of data loss.
> 
> Agreed.  The ancient Remind versions had a "purge" option; it worked
> something like this:
> 
> 	  remind -p .reminders > purged
> 
> (Don't try this now!  The "-p" option has been repurposed...)
> 
> Basically, it would echo every single line from the input file to stdout
> except for reminders it could prove had expired.
> 
> Maybe we could add an EXPIRES keyword that lets you explicitly expire
> reminders on a given date?
> 
> REM ... EXPIRES 20 Nov 2009 ...
> 
> You'd be asserting that it's safe to delete that reminder after the
> EXPIRES date.  I can see massive confusion with UNTIL, though...
> 
> Regards,
> 
> David.
> _______________________________________________
> Remind-fans mailing list
> Remind-fans at lists.whatexit.org
> http://lists.whatexit.org/mailman/listinfo/remind-fans



More information about the Remind-fans mailing list