🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #244123

[slrn] how do I write a script or macro to..

#244123
From: Nomen Nescio
Date: Thu, 30 Dec 2010 17:11
17 lines
1563 bytes
Hi,

I want to write a script or a macro, whichever is right to select articles
in a newsgroup I am viewing based on header content and then save all the
articles to a file and then do some process on it.

For example suppose I am in news.software.readers and I want to select all
the articles having a Message-ID that doesn't match googlegroups. Then I
want to save all those articles in one file and then invoke a shell script
to process that file. Would anyone be willing to give me some pointers in
the right direction? I can write the shell script, but I don't know s-lang
or slrn and I'm not sure where to get started.

Thanks guys!

Alan
Technical Details
Message-ID: <dad9bab901b913626c8cddaa39e91da7@dizum.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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.wiretrip.org!news.dizum.com!sewer-output!mail2news

Show Full Headers
Complete Article Headers
Message-ID: <dad9bab901b913626c8cddaa39e91da7@dizum.com>
Subject: [slrn] how do I write a script or macro to..
Date: Thu, 30 Dec 2010 17:11:44 +0000
From: Nomen Nescio <nobody@dizum.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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.wiretrip.org!news.dizum.com!sewer-output!mail2news
Newsgroups: news.software.readers
Mail-To-News-Contact: abuse@dizum.com
Organization: mail2news@dizum.com
Lines: 16
X-Original-Bytes: 1299