![](https://secure.gravatar.com/avatar/e154f6e65d871b06b4bc14d475b02caa.jpg?s=120&d=mm&r=g)
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?
Chad Cordero Enterprise Applications Support 5500 University Pkwy San Bernardino, CA 92407 Tel: 909-537-7281 Email: ccordero@csusb.edu
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
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@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
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@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Chad Cordero
-
Mark Sapiro