Re: Help with Hash values and variable interpolation

2002-11-08 Thread badchoice
> 112.58.26.32.32770 > 192.35.51.30.53: 64596[|domain] (DF) > 112.58.26.32.32770 > 192.100.59.110.53: 24685 [1au][|domain] (DF) > 112.58.26.4.2506 > 216.148.227.69.80: . ack 3280436924 win 2920 (DF) > 112.58.26.4.2506 > 216.148.227.69.80: . ack 1759 win 1162 (DF) > 112.58.26.4.2498 > 66.207.130.

Re: Help with Hash values and variable interpolation

2002-11-04 Thread John W. Krahn
Joshua Scott wrote: > > Hello all, Hello, > I've got a file which contains ports and hostnames. I'd like to count the > number of instances that each item occurs in my file. I'm having a > difficult time with this. > > This is my script: Basically I'm splitting the first line a few times to

RE: Help with Hash values and variable interpolation

2002-11-04 Thread Scott, Joshua
I figured it out already! I ran a replace on the dst_port and replaced it with a whitespace which threw off the count. I've modified it to delete the whitespace and all works perfect. Joshua Scott Security Systems Analyst, CISSP 626-568-7024 -Original Message- From: Scott, Joshua [m