Great Circle Associates Majordomo-Users
(September 1999)
 

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

Subject: hacking resend to remove sigs
From: Jim Serio <jim @ rollercoaster . com>
Date: Fri, 24 Sep 1999 12:30:32 -0700 (PDT)
To: majordomo-users @ greatcircle . com

MJ 1.94

I'm trying to apply a regexp to resend to strip
out all signatures in teh body before sending it.
It seems I need to do this before the footer is
appended, so I chose the "parse_body" subroutine
in resend:

Line 812 dumps the data, so I put this right before:

$_ =~ s/^(.*)--.*$/$1/s;

But for some reason it is only removing the "--"
line and nothing else. I'm no regexp expert so if
someone could offer suggestions on how to strip
out _everything_ from the "last" instace of "--*"
and on, that'd be great.

Jim
-- 
Jim Serio - jim@rollercoaster.com
Producer, World of Coasters


Indexed By Date Previous: Digests & Index
From: Frederic Breitwieser <frederic@xephic.dynip.com>
Next: Mail bouncing
From: mesmer@realms.pdt.net
Indexed By Thread Previous: Digests & Index
From: Frederic Breitwieser <frederic@xephic.dynip.com>
Next: Mail bouncing
From: mesmer@realms.pdt.net

Google
 
Search Internet Search www.greatcircle.com