lmc@denelcor.UUCP (Lyle McElhaney) (07/09/84)
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