Article View: news.software.readers
Article #120617Re: Show me your slrn score file.
From: HoboSong
Date: Sat, 22 Feb 2003 20:49
Date: Sat, 22 Feb 2003 20:49
49 lines
2560 bytes
2560 bytes
begin quoting Alan Gutierrez
>
> I am getting started with slrn and would like to see what people are
> doing with their scorefiles.
>
> Here are my basic questions:
>
> * Is there an sourcefile archive?
> * Is there a command line tool for testing your scorefile?
> * Is there a simple way to kill a thread with one stroke?
> * Is there a simple way to plonk a poster with one stroke?
since I dont like to answer a bunch of questions when I plonk someone,
and I dont like a commented score file ... I just wrote a script that
pulls the From: header and adds it to a list that I build my scorefile
from.
So to plonk someone I just pipe the message through "autoplonk"...
#------------------------------------------------#
#!/usr/bin/perl
$ScoreFile = "/home/chris/News/Score.plonks";
open SCOREFILE, ">>$ScoreFile" or die
"Cannot open $ScoreFile for appending: $!";
while(<>) {
if ( /^From:/ ) {
print SCOREFILE "\t$_";
}
}
close SCOREFILE;
#------------------------------------------------#
Then Score.plonks is joined with my other scorefiles whenever I start
slrn.
--
-----------------------------------------------------------------------------
Chris van Ophuijsen RLU #195880
usenet@gnubin.com
put "HoboSong" in the subject
-----------------------------------------------------------------------------
Technical Details
Message-ID:
<gan83b.m67.ln@192.168.1.75>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!news.infoave.net!newsfeed1.easynews.com!easynews.com!easynews!easynews-local!post-02.news.easynews.com.POSTED!192.168.1.75!nobodyReferences:
<slrnb5fm71.er3.ajglist@localhost.localdomain>Show Full Headers
Complete Article Headers
Message-ID: <gan83b.m67.ln@192.168.1.75> Subject: Re: Show me your slrn score file. Date: Sat, 22 Feb 2003 20:49:38 GMT From: HoboSong <usenet@gnubin.com> References: <slrnb5fm71.er3.ajglist@localhost.localdomain> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!news.infoave.net!newsfeed1.easynews.com!easynews.com!easynews!easynews-local!post-02.news.easynews.com.POSTED!192.168.1.75!nobody Newsgroups: news.software.readers Reply-To: usenet@gnubin.com Best-Viewed-With: slrn User-Agent: slrn/0.9.7.4 (Linux) Lines: 48 X-Complaints-To: abuse@easynews.com Organization: EasyNews, UseNet made Easy! - Test our service with our FREE trial at https://www.easynews.com/trial/trial.phtml X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.