[Remind-Fans] Get file and Line number of reminder

Reid Thompson reid.thompson at ateb.com
Thu Oct 25 20:25:20 EDT 2012


I use wyrd, which will take you directly to the entry in the appropriate 
file.
as for your other question

$ grep -Hn "sentence or pattern or other unique" .reminders/*

$ grep -Hn "Oct 2[123456780] 2012" .reminders/*
.reminders/amain.rem:32:REM Oct 22 2012 AT 10:00 +15 *5 DURATION 1:00 
MSG blah
.reminders/amain.rem:33:REM Oct 22 2012 AT 10:00 +15 *5 DURATION 1:00 
MSG blah
.reminders/amain.rem:34:REM Oct 23 2012 AT 08:15 +15 *5 DURATION 1:00 
MSG blah
.reminders/amain.rem:35:REM Oct 24 2012 AT 08:35 +15 *5 DURATION 1:00 
MSG blah
.reminders/amain.rem:36:REM Oct 24 2012 AT 13:15 +15 *5 DURATION 1:00 
MSG blah
.reminders/muttFLw0bC.rem:1:REM Oct 23 2012 AT 10:00 +15 *5 DURATION 
0:30 +3 MSG blah
.reminders/muttWk3v1V.rem:1:REM Oct 24 2012 AT 10:00 +15 *5 DURATION 
0:30 +3 MSG blah
.reminders/mutteMuB51.rem:1:REM Oct 25 2012 AT 11:00 +15 *5 DURATION 1:0 
+3 MSG blah
.reminders/muttkQohlP.rem:1:REM Oct 24 2012 AT 14:00 +15 *5 DURATION 
0:30 +3 MSG blah
.reminders/muttpJX3Qy.rem:1:REM Oct 25 2012 AT 11:00 +15 *5 DURATION 1:0 
+3 MSG blah

i replaced actual messages with blah.


On 10/25/2012 4:29 PM, Ruthard Baudach wrote:
> I do like remind to organize myself. But what do I do if I want to
> edit a reminder and have several reminder files consisting of many
> lines? Is there a secret hint hidden in the depth of the manual that I
> overlooked telling how to find out the file and entry/line number of the
> reminders?
>
> Something like:
>
> remind -magicoption .reminders 2012-11-01
>
> yielding
>
> 2012/11/1 * * * * /path/to/reminders.rem line-nr This is a fake message
>
> Or the like?
>
> Or how do others edit their reminders?
>
> Regards,
>
> Ruthard Baudach
> _______________________________________________
> Remind-fans mailing list
> Remind-fans at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans
> Remind is at http://www.roaringpenguin.com/products/remind



More information about the Remind-fans mailing list