🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #65761

Re: rnews example

#65761
From: cemo
Date: Sun, 15 Jun 2003 01:05
38 lines
2613 bytes
jeff@litech.org (Jeffrey M. Vinocur) wrote in message news:<bcau9l$pas$1@puck.litech.org>...
> In article <65ef3d34.0306121325.3bce297b@posting.google.com>,
> cemo <destek@cpsoft.biz> wrote:
> >
> >1) How will I replace all the "Win Style" LFs with "Unix Style" in
> >thousands of articles ?
> 
> I'm somewhat surprised that you had a problem with that, but
> whatever.  Anyway, your system may come with a program called
> dos2unix which is useful for this purpose.
> 
I couldn't find 'dos2unix' in my system (Mandrake 9.1) but I found a
little script which removes all the <CR>s from given files. So far it
is doing the job, but I'm afraid it will corrupt my binary articles
somehow. I saw some problems especially with .rar attachments. Do you
think that script made this or is there anything else that I should
care of?

> >2) I did my home-work. So let's talk about "many articles at once" :)
> 
> Hmm, ok, let's see.  The standard unix trick would be something
> like
> 
>     /bin/ls -1 > /tmp/filelist
>     cat /tmp/filelist | xargs -n1 $pathbin/rnews

This one worked with almost 80% success, but there are two problems.
First it has got a number limit. When I tried to process 5000
articles, it gave an error. Then I tried 3000 articles and it was OK.
Second problem is, I can't get enough feedback from syslog, especially
about which articles are rejected and why are they rejected. And it
does not move or delete the accepted articles. Could you please
suggest me another alternative to rnews ?

Thank you for your useful tips.

cemo
Technical Details
Message-ID: <65ef3d34.0306141705.2eaf0923@posting.google.com>
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!archiver1.google.com!postnews1.google.com!not-for-mail
References: <65ef3d34.0306100550.66b6f0fa@posting.google.com> <65ef3d34.0306101225.5270a23@posting.google.com> <bc9ji1$48e$1@puck.litech.org> <65ef3d34.0306121325.3bce297b@posting.google.com> <bcau9l$pas$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <65ef3d34.0306141705.2eaf0923@posting.google.com>
Subject: Re: rnews example
Date: Sun, 15 Jun 2003 01:05:05 +0000
From: destek@cpsoft.biz (cemo)
References: <65ef3d34.0306100550.66b6f0fa@posting.google.com> <65ef3d34.0306101225.5270a23@posting.google.com> <bc9ji1$48e$1@puck.litech.org> <65ef3d34.0306121325.3bce297b@posting.google.com> <bcau9l$pas$1@puck.litech.org>
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!archiver1.google.com!postnews1.google.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com/
Lines: 37
NNTP-Posting-Host: 212.252.6.205
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1055639105 3068 127.0.0.1 (15 Jun 2003 01:05:05 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 15 Jun 2003 01:05:05 GMT