🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24073

Re: Adding entries to history

#24073
From: Forrest J. Cavalier III
Date: Fri, 05 Dec 1997 00:00
54 lines
2375 bytes
In article <34883FF8.794BDF32@ack.berkeley.edu>, chrisvdb@ack.berkeley.edu 
wrote...
>
>Martin G. Rathmayer wrote:
>> 
>> Has anybody a script to add a list of article files to the existing
>> history database ?
>
>Hi,
>
>Below is a script called addhist.pl, which takes a list of articles
>names
>relative to the spool directory and creates 'ctlinnd addhist' commands.
>I've still got some work to do with it, like not creating multiple
>addhist
>commands for crossposted articles (although it still handles the "paths"
>part of the addhist command just fine).  This doesn't cause any
>problems, it 
>just creates extra addhist commands which end up getting rejected by
>innd
>as duplicates.
>I ran it over a list of a few thousand articles in a pretty short time
>(five minutes?).
>The addhist commands themselves will take longer.  I dunno if this is
>the
>fastest way to do this with innd, so if anyone has any ideas, lemme
>know.
>I typically use the output of "findmissing" as the input for this prog.
>
>You can also get it at:
>
>ftp://agate.berkeley.edu/pub/usenet/addhist.pl

That URL doesn't work for me.....

>
>It's still not perfect, so let me know if you have any suggestions.


"addmissing.pl" from the unoff-contrib at the ISC, listed on
the Usenet RKT page: News Utilities by Topic: Data Files/History
    http://www.mibsoftware.com/userkt/inn/0327.htm

does something pretty similar.  How is your addhist.pl different?
Is it an improvement?  Fewer bugs, more bugs?

Forrest Cavalier, Mib Software, INN customization and consulting 
Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages: 
    http://www.mibsoftware.com/userkt/forprov.htm 
Commercial support for INN: http://www.mibsoftware.com/innsup.htm 


Technical Details
Message-ID: <669goq$blg$1@news1.epix.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <668lb9$p8p@news.tuwien.ac.at> <34883FF8.794BDF32@ack.berkeley.edu>

Show Full Headers
Complete Article Headers
Message-ID: <669goq$blg$1@news1.epix.net>
Subject: Re: Adding entries to history
Date: Fri, 05 Dec 1997 00:00:00 +0000
From: mibsoft@epix.net (Forrest J. Cavalier III)
References: <668lb9$p8p@news.tuwien.ac.at> <34883FF8.794BDF32@ack.berkeley.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 295532645
Distribution: inet
Organization: Mib Software
Newsgroups: news.software.nntp