#urg=1
#while [ urg=1 ]
# do

htmldir=/users/html/bhugh


#print "."
fgrep -i home.html $htmldir/log/httpd-log.1995*  | nawk ' {
    if (NR == 1) {
	split($4,a,":")
	split(a[1],x,"[")
	date = x[2]
    }
}
END {
    print " "
    print "This page has been accessed", NR, "times since", date,
"(updated once a day)."
    print " "
} ' > $htmldir/home_count.html


fgrep -i musici.html $htmldir/log/httpd-log.1995* | nawk ' {
    if (NR == 1) {
	split($4,a,":")
	split(a[1],x,"[")
	date = x[2]
    }
}
END {
    print " "
    print "This page has been accessed", NR, "times since", date,
"(updated once a day)."
    print " "
} ' > $htmldir/musici_count.html

#urg=2
# sleep 86400
#done
