[Mailman-Users] Number of threads
Mark Sapiro
mark at msapiro.net
Thu Sep 4 22:47:47 CEST 2014
On 08/25/2014 09:02 AM, Chad Cordero wrote:
> I am using MailMan version 2.1.12 and I am being asked for the total number of messages without replies (threads) for a list. I can see the “Messages: “ count in the archives, but this is the total number of messages, not threads. Is there a way to get the number of threads?
There is no convenient way to do this.
If you have access to the underlying file system, you could do something
like
links -dump /path/to/archives/private/LIST/yyyy-Month/thread.html \
| grep '^ \*' | wc -l
and subtract 4 from the result because the grep includes two each of
lines like
* Messages sorted by: [1][ subject ] [2][ author ] [3][ date ]
* [4]More info on this list...
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list