#! /bin/csh
# get the number of different [domains] you have...
# 93 -- by DL -- v1.2
# usage : countdomains userlogfile , or cat userlogfile | countdomains
awk '{ pp=index($8,"."); print substr($8,pp,length($8)-pp) }' $1 | sort -uf |wc -l
