🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #172754

Re: [Dialog] Please help with script

#172754
From: Exiddor
Date: Sun, 04 Sep 2005 08:47
33 lines
2563 bytes
On Sun, 04 Sep 2005 08:34:37 GMT, Walter Docherty wrote:

> On Sat, 3 Sep 2005 14:31:44 +0200, Ghost wrote:
> 
>> David Percival ha scritto:
>> 
>>> I get mail from a private server and the subjects all start with "[name
>>> of mailing list] rest of subject".
>>> 
>>> Is there any way to write a script to remove just the "[name of mailing
>>> list]" part from the beginning of all the subjects in incoming mail?
>> 
>> Hi!
>> Something like this should fit (remember to edit the NameofList constant!):
> 
> I also found this very useful - I tried it on a mailing list which has
> "[opensuse]" as the first word of the subject.
> 
> It works nicely but there are quite a few posts with "Re: [opensuse]" as
> the first words and this just cuts off a part of the string at the
> beginning of the subject, leaving "use]"
> 
> Is there a way around this problem so that both examples work correctly?

Better still, a way to insert multiple strings into the script so that,
for example, "List1", "List2", "Re: List1", "Re: List2", etc, etc  could
all be searched for in the Subject so that the script could be used with
multiple mailing lists

I know, we're never satisfied!  :-)

-- 
Exiddor.
Technical Details
Message-ID: <1e1ogwwezelwv.dlg@exiddor.hotmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!newsfeed.news2me.com!newsfeed2.easynews.com!easynews.com!easynews!easynews-local!fe03.news.easynews.com.POSTED!not-for-mail
References: <70z8yhn3xtl5$.dlg@40tude.net> <de303fad33a37574afc343cb322610f4%ghost@Lem98.here> <txi1hlkawiiz.dlg@wally.hotmail.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <1e1ogwwezelwv.dlg@exiddor.hotmail.com>
Subject: Re: [Dialog] Please help with script
Date: Sun, 04 Sep 2005 08:47:35 GMT
From: Exiddor <exiddor@hotmail.com>
References: <70z8yhn3xtl5$.dlg@40tude.net> <de303fad33a37574afc343cb322610f4%ghost@Lem98.here> <txi1hlkawiiz.dlg@wally.hotmail.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!newsfeed.news2me.com!newsfeed2.easynews.com!easynews.com!easynews!easynews-local!fe03.news.easynews.com.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.41 (6fb7b040.154.383) Hamster/2.0.7.0
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Organization: Exiddor Cosmic Mail & News Server
Archive: no
X-Face: *@|:n8>k-x@S+<.3oc60nm/',~0MFfp/s+HF\*rAWf2j@Q3s]z=zjC*OX/2Y7KIlCa8JJ"yeKp~f(nK"o".;
 7<GEm\Zr+4
X-No-Archive: yes
Lines: 33
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise
 we will be unable to process your complaint properly.