I am in a lot of irc channels and in each of these channels the topic of the
channel can change a few times per day. Of course I do not want to check
the topic too often for changes. But on the other hand I also do not want to mis
meeting or party announcements. Some googling gave me a irssi plugin to send an
email per topic change. So far so good. But that meant that I had to read a lot
of emails extra. Which means it still cost more time than needed to follow the
changes in the topics.
Hence time to update my procmail filter to send those emails to a separate Maildir
and create a script to summarize these emails:
topic2single.pl.
It reads mailfiles from standard input and summarizes all topic changes from
these emails. I use the script with a rule like:
find /home/jnieuwen/Maildir/.topic/new | topic2single.pl | sort | uniq
and pipe the result of this to the mail command.
As a result of this I only have to read one email with topic changes a day.
If your topic change emails have the same format:
<nick> changed the topic of <channel> to: <topic>
on a single line in the mail file then the script may work for you too.