[Remind-Fans] Howto get reminders for the next 3 days, that you have reminders for.

Martin Walk martinwalk at web.de
Tue Nov 25 13:16:59 EST 2008


Thank you very much!
Martin.

David F. Skoll schrieb:
> Replying to myself...
> 
>> Martin Walk wrote:
> 
>>> Is it possible to get all reminders for the next 3 days, that you have 
>>> reminders for?
> 
> Here is a shell pipeline to do it.  Understanding it is left as an exercise
> for the reader.
> 
> Regards,
> 
> David.
> 
> remind -n -q .reminders | awk '{print $1}' | sort | uniq | head -n 3 | \
>    while read x ; do \
>       (echo "banner %"; echo "msg [trigger('$x')]%") | remind - ; \
>       done | while read d m y ; do remind -q .reminders $d $m $y; done
> _______________________________________________
> 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