🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #28716

Re: Active File Size

#28716
From: Geoff Allen
Date: Mon, 01 Jun 1998 00:00
25 lines
1533 bytes
Ian Stirling <0000356ECBDD.NO_UCE@mauve.demon.co.uk> wrote:
> : Well, awk '($2-1)==$3{print $1}' |xargs ctlinnd rmgroup 
> : will nuke groups with no traffic in them.

And Ian Stirling <0000356F54EE.NO_UCE@mauve.demon.co.uk> writes:

> And of course nuke low traffic groups, sorry, was tired when I wrote it.

Actually, it would nuke groups with two articles in them. What you
want is:

	awk '($3-1)==$2{print $1}' /path/to/active_file

At least, that's what I find on my (INN 1.5.1) box.

Geoff

-- 
Geoff Allen, geoff@wsu.edu, <http://www.wsu.edu/~geoff/>

Every man has, some time in his life, an ambition to be a wag.
    -- Samuel Johnson, 1792

Technical Details
Message-ID: <u3yavgrc2n.fsf@cyclone.it.wsu.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.mbox.zip!not-for-mail
References: <356e3457.0@news2.lightlink.com> <0000356ECBDD.NO_UCE@mauve.demon.co.uk> <0000356F54EE.NO_UCE@mauve.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <u3yavgrc2n.fsf@cyclone.it.wsu.edu>
Subject: Re: Active File Size
Date: Mon, 01 Jun 1998 00:00:00 +0000
From: Geoff Allen <geoff@wsu.edu>
References: <356e3457.0@news2.lightlink.com> <0000356ECBDD.NO_UCE@mauve.demon.co.uk> <0000356F54EE.NO_UCE@mauve.demon.co.uk>
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!not-for-mail
X-Deja-AN: 358598552
X-Face: "_BN`k13tDrkELee:E\T&8/@qFA<s4?,}b2.<O<dk+b>)37yNzUboAL-pY_T} K$YUh]<~X~rq_qjZkxzqKp~jbX;t%hGlnaYz;RdU{$o-8jR[WWh-f4G;=
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Organization: Professional Unix Geek, Washington State University
Newsgroups: news.software.nntp