I have a logfile that contains entries like so: Wed Apr 12 04:45:04 2000: Auth: Login OK: [user/test123] (from nas Weis-PM3) Wed Apr 12 04:45:04 2000: Auth: Login OK: [user2/123test] (from nas Bud-PM2) Wed Apr 12 04:41:09 2000: Auth: Login incorrect: [user3/1badpass] (from nas Weis-PM3) Each is on one line of course (not wrapped). What I need is this. -# of times user logged in to nas Bud-PM2 -Total number of logins -Username -All ONLY correct logins (i.e. the "Login OK"). and printed to a file like this: username:Budlogs:Totlogs Can anyone give me a hand? Thanks in advance! Bryan -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.