Article View: news.software.readers
Article #172752Re: [Dialog] Please help with script
From: Walter Docherty
Date: Sun, 04 Sep 2005 08:34
Date: Sun, 04 Sep 2005 08:34
24 lines
2010 bytes
2010 bytes
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? -- Walter Docherty.
Technical Details
Message-ID:
<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-mailReferences:
<70z8yhn3xtl5$.dlg@40tude.net> <de303fad33a37574afc343cb322610f4%ghost@Lem98.here>Show Full Headers
Complete Article Headers
Message-ID: <txi1hlkawiiz.dlg@wally.hotmail.invalid> Subject: Re: [Dialog] Please help with script Date: Sun, 04 Sep 2005 08:34:37 GMT From: Walter Docherty <wally@hotmail.com> References: <70z8yhn3xtl5$.dlg@40tude.net> <de303fad33a37574afc343cb322610f4%ghost@Lem98.here> 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.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Archive: No X-No-Archive: Yes Lines: 24 X-Complaints-To: abuse@easynews.com Organization: EasyNews, UseNet made Easy! X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.