🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Philip Hall Fri, 14 Jun 1996 00:00
killing article with x number of lines in trn
#22806
Author: Philip Hall
Date: Fri, 14 Jun 1996 00:00
20 lines
986 bytes

I would like to know if there is a better way to 
kill articles with a range of lines in trn that is better than the
way I am doing it now. It doesn't seem to work consistently.

I use
/^Lines: [0-9]$/HLines:j
to kill article with less than 10 lines
/^Lines: [1-5][0-9]$/HLines:j
to kill from 10 to 59 lines.
should this work, or is there a better expression that
will work consistently.

thanks
phil
phall@gate.net


Re: killing article with x number of lines in trn
#23026
Author: Larry W. Virden
Date: Mon, 17 Jun 1996 00:00
18 lines
1663 bytes

One problem is that not all usenet articles will have lines headers.  So
you won't be able to kill those.  I don't know how the ordering of
article selection vs article junking is performed - perhaps articles that
could be junked are not getting junked because of problems there.
Also, perhaps you are encountering places where folk are using more than one
blank, or a tab, between the header and the line number.  Finally, perhaps
there are _trailing_ blanks after the line number, causing problems.
Frankly, I never found much use for killing articles based on line numbers,
since many times useful info are in very long, or very short, articles.
-- 
:s Larry W. Virden                 INET: lvirden@cas.org
:s <URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh."
:s Unless explicitly stated to the contrary, nothing in this posting should
:s be construed as representing my employer's opinions.

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