🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74426

Re: Cleaning active files

#74426
From: 2Rowdy
Date: Mon, 23 Oct 2006 15:48
43 lines
3943 bytes
I was reading <news:tskirvin.20061023153254$0bbe@cairo.ks.uiuc.edu>, 
made by the entity known as Tim Skirvin, that requests spam to be sent 
to <tskirvin@killfile.org> and I became inspired,

> "2Rowdy" <Harry131313@gmail.com> writes:
>
>>> http://www.xs4all.nl/~rvtol/perl/clean-active.pl
>> As a work around I created a cronjob on the server with the line:
>> /home/directories/clean-active.pl active.mess active.cleaned
>
>> I ended up with a very big cron job logfile. So big that I couldn't
>> read it.
>> I suspect the script has operated but instead of creating the file
>> <active.cleaned> it inserted the result into the cronlog.
>> What did I do wrong?
>
>        That's how it's supposed to work - the list of valid groups
> goes to STDOUT (ie they're simply printed, in this case to your
> cronlog), and the invalid ones are printed with an error message to
> STDERR.
>
>        So, you'd normally use the script like this:
>
>        perl clean-active.pl < active > active.new
>
>        Or
>
>        perl clean-active.pl active > active.new

Right after my posting the other half of my last braincell inserted 
the > and it works.
i.e.
clean-active.pl active > active.new  works!
My 7.06 MB of mess has reduced to 6.22 MB.
I'm walking through the junk and cleaned active file right now.

Thanks Tim, Special thanks Ruud.
-- 
d:J0han; Certifiable me
http://www.aacity.net Citroen Newsgroup

By replying to this message you agree to the regulations written
on the back of this posting.
Technical Details
Message-ID: <55b926a74d44a8d6a9ba5a60fb9b71ed@nntp.aacity.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed.kamp.net!newsfeed.kamp.net!news.unit0.net!news.szaf.org!morpheus.pingos.org!news.datemas.de!mars.aacity.net!nntp.aacity.net!not-for-mail
References: <1a08b0d7bf2d27585240866c3a6a55d9@mars.aacity.net!nntp.aacity.net> <ehftge.1ag.1@news.isolution.nl> <2be84d40c8d4aeb63f9deef5cf85867c@nntp.aacity.net> <tskirvin.20061023153254$0bbe@cairo.ks.uiuc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <55b926a74d44a8d6a9ba5a60fb9b71ed@nntp.aacity.net>
Subject: Re: Cleaning active files
Date: Mon, 23 Oct 2006 17:48:19 +0200
From: "2Rowdy" <Harry131313@gmail.com>
References: <1a08b0d7bf2d27585240866c3a6a55d9@mars.aacity.net!nntp.aacity.net> <ehftge.1ag.1@news.isolution.nl> <2be84d40c8d4aeb63f9deef5cf85867c@nntp.aacity.net> <tskirvin.20061023153254$0bbe@cairo.ks.uiuc.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed.kamp.net!newsfeed.kamp.net!news.unit0.net!news.szaf.org!morpheus.pingos.org!news.datemas.de!mars.aacity.net!nntp.aacity.net!not-for-mail
Newsgroups: news.software.nntp
Organization: http://www.aacity.net
Lines: 43
X-Trace: DJTccIzCNsfS4H5BWHsE146Dfci9+JuNNs1uKLfBtROIidIirzMvAJicPZLbiqPTs27fCBj+2VtmW2wRSr+JVXpJbXWJnoEPkvCdoGWtml9F94hNFtpc5tmmby5iIkmTYhnzBP9PwOz+0skUiSFIzfNT4wJcN4ZKmyXeQyUREiE=
X-Complaints-To: abuse@datemas.de
NNTP-Posting-Date: Mon, 23 Oct 2006 15:49:20 +0000 (UTC)
X-Athenticated-User: sofi3803756
Cancel-Clock: sha1:7eHC4b41Ru13Z(71nC)= sha1:c4b4l4pPr0v3DP0s71N9=
X-Virus: Looks o.k.to me (Score=7)
X-MimeOLE: Produced By Microsoft MimeOLE V3.10.2800.1106 SP6
NNTP-Posting-gHost: 192.168.0.192
X-OS: L-unox (win-beta 4.01060b nl-g.worst)
X-Mailer: aquaMail .NET version 0.3 by Bruno Bioggy
X-Accept-Language: en, de, nl, dr, us, ActiveX, Java VM
X-RFC2646: Format=Frowned; Reply
X-Newsreader: Microsoft Internet Explorer 3.10.2800.1106 American (SE English)
X-Face: bBZ{LKO}M792B(Uc.+~#I0'+Dak.N4; da'B2~>w4f_0`"t<"X;
 ,Gppqp@1ag`I%Z-"r""~T5c+blH=4QfkAg%4zRn4i3OvkR!@L!HiitHou!hMy!=Y1NAN1(L*0SB~<%1
X-Subliminal-Massage: I want a Citroen car.
Content-Transfer-Deccoding: 2bits
Content-Tipe: text/plane/nonsence; format=flowers; charset="windows-cleaner";
 reply-type=copy
X-Priority: 256+
X-No-Complaints-To: poster
Injection-Info: feed.tweaknews.nl!newsgate.cistron.nl!news2.euro.net!postnews2.euro.net!news.wanadoo.nl!w25w2005cwi.aacity.net;
 posting-host=192.168.0.192
X-Trece: post.webinterface.8625g6a8sd9.!Posted
X-MSMail-Priority: Abnormal
X-RFC977: Format=Flowers; Response