#! /usr/bin/ksh

DIR=/usr/local/www/logs/raw/cern80 # dir of log info

cd $DIR

# cern_http.log.Nov0195 host - - date -time "GET file proto" # #
# cern_proxy.log.Nov0195 host - - date -time "GET file proto" # #
# http.log.Dec0195 host - - date -time "GET file proto" # #
# proxy.log.Dec0195 host - - date -time "GET file proto" # #

logfiles="cern_http.log cern_proxy.log http log.proxy.log"
logfiles="http.log proxy.log"

for log in $logfiles
do
	for dates in $log.*$2*
	do
		grep -i sigchi/$1 $dates |
			cat # awk '{ print $7}'
	done
done
