๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Bryan C. Brown Sat, 01 Nov 1997 00:00
Tin 1.3 filtering by number of lines
#36838
Author: Bryan C. Brown
Date: Sat, 01 Nov 1997 00:00
38 lines
1379 bytes
Thanks to the suggestions of those here I've been able weed out most of
the objectionable posts in the newsgroups I frequent using the filter
file.  Now I'd like to filter out all posts that have fewer than 100
lines. 

As an experiment I tried making entries in the filter file with entries
like

scope=*
type=0
case=1
lines=37

and even

scope=*
type=0
case=1
lines=[1-100]

but after restarting tin there are still posts showing up with 37 lines 
(in the first case) and fewer than 100 lines in the second case.

Soooo, what am I doing wrong now?

Thanks in advance.

Bryan


-- 
*---------------------------------------------------------------
* Bryan Brown      <*>              bbrown@radix.net
* http://www.radix.net/~bbrown      bbrown5@csc.com
*---------------------------------------------------------------

Re: Tin 1.3 filtering by number of lines
#36859
Author: Greg Berigan
Date: Mon, 03 Nov 1997 00:00
33 lines
2118 bytes
bbrown@saltmine.radix.net (Bryan C. Brown) wrote:
>Urs Jan๏ฟฝen <urs@tin.org> wrote:
>>Bryan C. Brown <bbrown@saltmine.radix.net> wrote:

>>> Thanks to the suggestions of those here I've been able weed out most of
>>> the objectionable posts in the newsgroups I frequent using the filter
>>> file.  Now I'd like to filter out all posts that have fewer than 100
>>> lines. 

>> lines=<100

> Hmmmmm, well, I tried this and the "lines" entry in the filter file didn't
> seem to have any effect, posts with less than 100 lines still showed up. 

You will still need the other entries such as scope= and the like.
(Note using "scope=*" with "lines=<100" will pretty much kill off all
the articles in all the groups, including this one.  You'll want to
limit the scope of such kills to just the groups you want so filtered.)

Also, don't edit the file while tin is running.  It reads it all in once
and saves it all back when finished and ignores any changes to the file
in the meantime that it doesn't make itself.  Check your filters file to
see if the line is indeed still there.

-- 
         _-<#)-=# http://cse.unl.edu/~gberigan/War-of-the-Worlds/
     ___/___
  _-~_--<###)     Due to widespread abuse, I no longer read any messages
<~c>' __--<      from users who employ munged addresses in their headers.
 \_--=____#)   "We've upped our standards, so up yours." -- Pat Paulsen '88

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