Gate wrote:
> Can anyone give me a hand? Thanks in advance!
I got bored, so I wrote the attached perl script. It does pretty close
to what you said you wanted, but I wrote it the way I think such a
script should be written. It should be easier to use in the future, if
you need to do something very similar.
Usage:
cat <logfile> | ./logins.pl
This will display a list whose lines consist of:
<username>@<nas server>:<logins on this nas server>:<total logins>
So, to accomplish what you wanted, do:
cat <logfile> | ./logins.pl | grep Bud-PM2
If you're interested in comparing all of your portmasters, then do:
cat <logfile> | ./logins.pl | sort
The script also accounts for failed logins, so if you uncomment the
lines at the bottom that print them out, you can get information on that
as well.
MSG
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.