#!/bin/sh
#
# This is a little script for running through the ABC  Tune
# Finder's  log files and reporting on the source addresses
# of  the  requests.   I  change  this  script  at  random,
# depending  on  what  I  want to know at the moment.  It's
# getting complex; maybe it's time to switch to perl here.

addrs=`grep -h From: *.log | sed -e s/From:// | sort | uniq`
n=`echo $addrs | wc -w`
r=`ls *.log | wc -l`
echo $r requests from $n different addresses:
addr $addrs

