Line Parsing

2003-02-27 Thread kevin r
I am writing a perl script to parse some firewall logs and I think that there may be a better way of doing somwthing than the one that I know. Syslog messages look as follows (IP addresses have been changed to protect the innocent) %PIX-6-106015: Deny TCP (no connection) from 1.1.1.1/80 to 2.2.2.

Re: getopt::std problem ignoring options

2003-01-30 Thread kevin r
I am just a newbie here and this probably is not the best solution, but have you considered placing the argument in quotes. It works for me. script.pl -a something -b "something else" -c another_one -d etc Kevin From: Jayesh Patel <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECT

RE: Sorting Help!!!

2003-01-30 Thread kevin r
You guys are the best. It now works, and fast too. Thank you. Kevin From: Bob Showalter <[EMAIL PROTECTED]> To: 'kevin r' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: RE: Sorting Help!!! Date: Thu, 30 Jan 2003 14:20:09 -0500 kevin r wrote: > Rob, > > I

Re: Sorting Help!!!

2003-01-30 Thread kevin r
OTECTED] Subject: Re: Sorting Help!!! Date: Thu, 30 Jan 2003 18:34:11 - Kevin R wrote: > Hello, > > I am having problems with the sort routine. I am writing a script > that parses very large firewall logs. At one point during the script > I end up with a very large array containi

Sorting Help!!!

2003-01-30 Thread kevin r
Hello, I am having problems with the sort routine. I am writing a script that parses very large firewall logs. At one point during the script I end up with a very large array containing all of the destination udp and tcp port numbers. This array can be up being over 100,000 entries. I am tr