Xref: utzoo alt.config:89 news.config:503 Path: utzoo!mnetor!uunet!amdahl!ames!mailrus!delrio!fleetwood.cc.umich.edu!emv From: emv@fleetwood.cc.umich.edu (Edward Vielmetti) Newsgroups: alt.config,news.config Subject: Re: The size of the 'alt' subnet Message-ID: <3a9aa4f3.c6e5@delrio.cc.umich.edu> Date: 2 Mar 88 03:25:30 GMT References: <5077@swan.ulowell.edu> <1939@epimass.EPI.COM> <5098@swan.ulowell.edu> <301@bacchus.DEC.COM> <8299@eddie.MIT.EDU> <303@bacchus.DEC.COM> <5184@swan.ulowell.edu> Sender: usenet@delrio.cc.umich.edu Reply-To: emv@fleetwood.cc.umich.edu (Edward Vielmetti) Organization: University of Michigan Computing Center, Ann Arbor Lines: 26 UUCP-Path: {uunet,rutgers}!umix!fleetwood!emv In article <5184@swan.ulowell.edu> page@swan.ulowell.edu (Bob Page) writes: >..Bob > >PS Here's how I got the list of hosts based on Path: lines. > >#!/bin/sh >cd /usr/spool/news/alt >egrep "^Path: " */* | > cut -d\ -f2 | > awk -F! '{ for (i = 1; i < NF; i++) print $i }' $* | > tr A-Z a-z | > sort | > uniq >-- If you have MH handy, it's relatively easy to generate the path info for a newsgroup. In my MH directory (~/Mail) I've linked Alt to /usr/spool/news/alt, Comp to /usr/spool/news/comp, etc. Then a line like this: scan +Alt/sources last:20 -format "%(size)\t%{Path}" generates size and path information for further munging by awk. --Ed Edward Vielmetti, U of Michigan mail group.