Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site whuxlb.UUCP
Path: utzoo!linus!philabs!cmcl2!floyd!whuxlb!mkg
From: mkg@whuxlb.UUCP
Newsgroups: net.news
Subject: Re: Program for news feed statistics - (nf)
Message-ID: <1180@whuxlb.UUCP>
Date: Tue, 21-Jun-83 00:02:38 EDT
Article-I.D.: whuxlb.1180
Posted: Tue Jun 21 00:02:38 1983
Date-Received: Tue, 21-Jun-83 16:19:35 EDT
Sender: mkg@whuxlb.UUCP
Organization: Bell Labs, Whippany
Lines: 17

#R:whuxlb:7700006:whuxlb:7700007:000:565
whuxlb!mkg    Jun 21 00:02:00 1983

For those of you who don't have cut or ncut, here is a revised sed
script that performs the same function.  Although it reduces the
pipeline by one process, it takes slightly longer to run--probably
because of the complexity of the script.  Or the suggestion to
replace ncut with awk '{ print $6,$5,$4 }' will also work.
   Marsh Gosnell  BTL Whippany  (201) 386-7095  whuxlb!mkg


egrep "received|Duplicate" /usr/lib/news/log* | \
	sed -e 's/	/ /g' -e 's/article //' \
	 -e 's/[^ ]* [^ ]* [^ ]* \([^ ]*\) \([^ ]*\) \([^ ]*\) .*/\3 \2 \1/' | \
	sort -u | \
	etc...