Great Circle Associates Majordomo-Users
(January 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: makeindex.pl patch for cc:Mail
From: Bill <bill @ wagill . com>
Date: Thu, 16 Jan 1997 12:11:38 -0800
To: majordomo-users @ greatcircle . com


I use Paul Close's 'makeindex.pl' tool to generate a TOPICS file containing
a summary of all subjects found in my mailing lists' archives.

This tool removes the "Re:" reply prefixes from the subject line while
trying to build a list of unique subjects.  However, Paul's version does not
account for cc:Mail-style reply prefixes, such as "Re[2]:".

I have applied a small patch to correct this situaion:

diff makeindex.pl makeindex2.pl
47c47
<           1 while ($subj =~ s/^Re2?:\s*//i);  # trim all Re:'s
---
>           1 while ($subj =~ s/^Re(\[\d+\]|2?):\s*//i);  # trim all Re:'s

If you are interested in effecting this change but rather not deal with the
code, I could also make the patched version of the program available via
e-mail or ftp.

- Bill.



Follow-Ups:
Indexed By Date Previous: QP-->8bit (Re: Special characters in the digest)
From: Marko Hotti <mhotti@lists.oulu.fi>
Next: intermitten problem with resend
From: capen@zk3.dec.com
Indexed By Thread Previous: Re: majordomo and domain names
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: makeindex.pl patch for cc:Mail
From: Dave Wolfe <dwolfe@risc.sps.mot.com>

Google
 
Search Internet Search www.greatcircle.com