Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site denelcor.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!zehntel!hplabs!hao!denelcor!lmc From: lmc@denelcor.UUCP (Lyle McElhaney) Newsgroups: net.news Subject: Re: Periodic automatic recreation of groups Message-ID: <498@denelcor.UUCP> Date: Mon, 9-Jul-84 10:22:04 EDT Article-I.D.: denelcor.498 Posted: Mon Jul 9 10:22:04 1984 Date-Received: Wed, 11-Jul-84 00:34:36 EDT References: <186@callan.UUCP> Organization: Denelcor, Aurora, CO Lines: 21 Someone did send out a script just last week to compare the "official" list with the active list at a site. Its small enough that I'll include it here (sorry, I don't know who originated it): > sed -e '1,/----------/d' \ > -e '/^$/d' \ > -e '/^[\* A-Z-]/d' \ > -e '/^ /d' \ > -e 's/^ \(.*\)/\1/' \ > -e 's/^\(.*\) .*/\1/' | sort >/tmp/act$$ > awk '{print $1}' /usr/lib/news/active | sort | diff -b - /tmp/act$$ > /tmp/act$ > echo "active newsgroups not in local active file:" > fgrep ">" /tmp/act$ > echo "defunct newsgroups still in active file (also local groups):" > fgrep "<" /tmp/act$ > rm /tmp/act$$ -- Lyle McElhaney (hao,brl-bmd,nbires,csu-cs,scgvaxd)!denelcor!lmc