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

David F. Skoll dfs at roaringpenguin.com
Tue Nov 25 11:00:53 EST 2008


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



More information about the Remind-fans mailing list