Thread View: news.software.nntp
3 messages
3 total messages
Started by Systems Operator
Sat, 06 Apr 1996 00:00
Easy Solution Needed
Author: Systems Operator
Date: Sat, 06 Apr 1996 00:00
Date: Sat, 06 Apr 1996 00:00
19 lines
1004 bytes
1004 bytes
This is a gentle plea for help.... I am looking for a quick script (sh, perl whatever) that will take my unwanted.log file from INN 1.4 and run a ctlinnd newgroup groupname etc. I have 1500 areas not added at the moment and don't really think it's necessary to add them by hand..hehehe...:-) Really appreciate it.... Thanks in advance.... ---- Paul Stewart UNIX Systems Administrator Online Computer Distribution Peterborough, Ontario CANADA http://www.oncomdis.on.ca
Re: Easy Solution Needed
Author: J. Porter Clark
Date: Sun, 07 Apr 1996 00:00
Date: Sun, 07 Apr 1996 00:00
36 lines
2101 bytes
2101 bytes
root@oncomdis.on.ca (Systems Operator) writes: >I am looking for a quick script (sh, perl whatever) that will take my >unwanted.log file from INN 1.4 and run a ctlinnd newgroup groupname etc. >I have 1500 areas not added at the moment and don't really think it's >necessary to add them by hand..hehehe...:-) I know of some sites that do this, but one serious drawback of this scheme is that it doesn't set the moderated/unmoderated flag for you. There is no foolproof way of determining whether a newsgroup is moderated or not by looking at the posts in the group. If all of the posts have Approved headers on them, then it is probably a moderated group, but not certainly. Looking at the posts in groups you don't carry is not easy unless you have reading access to a site that does carry them. Another problem is that you'll never remove a group with that strategy. After a while, you'll be carrying groups that have been officially rmgrouped. What I recommend that you do is to download newsgroups.gz from ftp.uu.net (I don't recall offhand exactly where it is, but it is by no means hidden) and run docheckgroups on the resulting newsgroups file. What could be simpler? If you want to blindly create new groups no matter how they sprang into existence, legitimately or otherwise, you might as well rig up control.ctl to create them indiscriminately. At least you will usually get the moderated/unmoderated status right most of the time. -- J. Porter Clark jpc@hammer.msfc.nasa.gov NASA/MSFC Flight Data Systems Branch
Re: Easy Solution Needed
Author: Systems Operator
Date: Sun, 07 Apr 1996 00:00
Date: Sun, 07 Apr 1996 00:00
37 lines
1961 bytes
1961 bytes
Thanks to everyone who took the time to reply.... I got fed up and wrote a quick Perl script that looks after the problem I'm having.... now, if I had just checked my email before getting fed up....hehehe.... Thanks again, ---- Paul Stewart UNIX Systems Administrator Online Computer Distribution Peterborough, Ontario CANADA http://www.oncomdis.on.ca On Sun, 7 Apr 1996, Michael Hucka wrote: > You really don't want to add everything that shows up in your unwanted.log > file. > > Some of those are bound to be old, bogus groups in which you may have had a > few articles offered because some news site somewhere hasn't rmgroup'ed them > yet. Some of them are just plain typos. > > J. Porter Clark (who I see also replied) has the right idea: see the list of > newsgroups on ftp.uu.net. If you don't want to create all of those groups, > you could cross-check your unwanted.log file against the newsgroups file from > uunet, and only create those groups from the newsgroups file that did > actually show up in your unwanted.log file. > > Just my $0.02 worth. > > -- > Mike Hucka hucka@umich.edu http://ai.eecs.umich.edu/people/hucka > University of Michigan AI Lab & EECS Departmental Computing Organization >
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