From: Leo Laursen Date: 2001-12-07T23:38:29+09:00 Subject: [ruby-talk:27811] Re: New RubyGarden Poll - this one affects us all :) Den 5-12 2001 kl. 11:48:59 +0900, skrev Paul Brannan: > > :0hf: > > * ^Subject: *\[ruby-talk:[0-9]*\] > > | perl -n -e -p 's/^Subject:\s*(\[ruby-talk:\d+\])\s *(.*)/Subject: \2\nX-Ruby-Talk-ID: \1/i' > Oops, I swapped the -e and the -p here in my haste. If you use this > filter, then please be sure to use "perl -n -p -e"! > Good thing I followed the directions in the procmailex manpage and saved > backup copies of all my email. :) I don't know perl, as a matter of fact I'm totally new to programming so i use this familiar style: ------------------------------------- # Ruby-talk :0 * ^Subject:.*\[ruby-talk:[0-9]+\]\/(.*) { :0 fwh | formail -i "Subject: $MATCH" :0 ruby/ } ------------------------------------- Leo -- Treaties are like roses and young girls -- they last while they last. -- Charles DeGaulle