A quick and dirty patch courtesy of Steven Jurgensmeyer.  The only other thing to fix that I am aware of is logic for creating yesterdays date when yesterday was the lsat day of the month (28th 29th 30th or 31st).  That one should be fun.  I won't be getting to that anytime soon...
 
This log file parser has been quite a test in patience for me as it started off pretty simple and got pretty complicated.  I still like the command line, but Linux is where I like to live from a systems admin standpoint.  If it weren't just for the challenge of it, I would've scp'd (Secure SHell copy) the logs to a Linux server running SSH with pscp.exe and just parsed the logs with regular expressions in a Linux shell, but what fun would that have been?  Anyway, I felt like contributing in a way that would help others.
 
Eventually I'll put this up on one of the Imail tools sites, but it needs better documentation first...
 
Best regards,
 
Jeff Pitoniak
PCE Systems, Inc.
--
"If your only tool is a hammer, pretty soon everything starts to look like a nail."-Dr. William Learner, Chiropractor

Attachment: Usage1-3.zip
Description: Zip compressed data

Reply via email to