[MPlayer-users] Re: About Re:Re:Re:Re:Re:Re:Re:Re:Re:Re:Re:Re:Re:Re:Re:Re:
Tobias Diedrich
ranma at gmx.at
Sat Oct 5 01:04:02 CEST 2002
cube wrote:
> Personnally, I don't care. I find Arpi's mails worth that small bug.
> Besides, it's a MAY, not a MUST, and the part about adding another 'Re :'
> doesn't even use a captalized-RFC'ized keyword.
I use this scripts to filter the subject line of MLs that insert
[mlname] into the subject:
|#!/bin/sh
|offender=`echo $1 | sed -e 's/\[/\\\[/; s/\]/\\\]/'`
|exec sed -e "/^Subject:/ { s/${offender}//; s/Subject:[[:blank:]]*/Subject: /; s/Subject: \(Re:[[:blank:]]*\)\+/Subject: Re: /; }"
Sample procmail recipe:
|:0
|* ^List-Id.*mplayer-users
|{
| :0 fw
| |filtersubject "[MPlayer-users]"
|
| :0:
| mplayer-users
|}
This has the nice property of also getting rid of multiple Re:'s in the
beginning of the Subject line, which I introduced because of a bug of
most list managing programs:
The original poster writes a message with the subject "Foo"
This gets distributed as "[bar] Foo".
I reply with "Re: Foo", distributed as "[bar] Re: Foo".
Someone else replies "Re: [bar] Re: Foo", not changed by distribution.
Yuck.
--
Tobias PGP: 0x9AC7E0BC
This mail is made of 100% recycled bits
Now playing: Full Metal Panic: OST 1 12 - puran1056
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20021005/37dab46c/attachment.pgp>
More information about the MPlayer-users
mailing list