show-reminder.sh (237B)
1 #!/usr/bin/zsh 2 3 # TODO: sometimes the message-ID is on a separate line after "Message-ID:" 4 grep -i '^Message-id' | cut -d ' ' -f2 | while read l; 5 do 6 echo "Scheduled reminders for $l:" 7 atq | grep "^`~/bin/find-reminder.sh $l` " 8 done 9