🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Michael Hucka Thu, 30 Jan 1997 00:00
Script to take mailed control messages & act on them?
#14594
Author: Michael Hucka
Date: Thu, 30 Jan 1997 00:00
21 lines
1595 bytes
I'm sure someone must have written a script to do this already, so in an
effort to save myself from reinventing the wheel . . .

Does anyone have a script that will take control messages mailed to the news
account (e.g., because nothing matched in control.ctl) and run them through
the appropriate newgroup/rmgroup control script?  Sure, you can cut and paste
the command line manually, or even save your mail to a file and grep out the
"ctlinnd foo group" part, but that won't do the work of adding a newsgroups
file entry in the case of newgroup control messages.

Ideally, I'd like something that takes one or more saved mail messages,
parses out the four fields required by the newgroup/rmgroup control scripts,
and then hands them to the proper newgroup/rmgroup script.

-- 
Michael Hucka    hucka@umich.edu   <URL: http://ai.eecs.umich.edu/people/hucka>
PhD to be, computational models of human visual processing (AI Lab)  University
UNIX systems administrator & programmer/analyst (EECS DCO)          of Michigan

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads