Re: stripsubject

From: Bjarni R. Einarsson <>
Date: Tue, 1 Feb 2000 23:53:10 +0100
Message-ID: <>

On 2000-02-01, 15:56:01 (-0500), Eric Luhrs wrote:
> Hello,
> I am trying to process a list which has a digest number prepended to the
> subject line. The problem is that the digest number increases by one each
> time a digest is sent--so I can't force stripsubject to remove "STRING
> 1.001" because the next message will be prefaced with "STRING 1.002" so
> forth, and so on. Stripsubject obviously can't accept a value like
> "STRING*" but will it take a range, such as "STRING [1-1000]"? Is there
> another way to deal with this problem? Thanks in advance.

Since that's the only little snippet of code I wrote in hypermail (my claim to hypermail fame, eh) I think I can safely answer this one - there are no ranges or anything supported at the moment.

My solution to problems like these is always to filter the mail through perl (or sed), before feeding it to hypermail. :-)

cat message \

	| perl -npe 's/^Subject:\s+STRING\s+\d+\.\d+/Subject:/;' \
	| hypermail ...

Bjarni R. Einarsson                           PGP: 02764305, B7A3AB89               -><-  

Netverjar gegn ruslpósti: Received on Wed 02 Feb 2000 12:55:35 AM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:52 PM GMT GMT