Re: whats wrong with this grep?

2002-06-18 Thread Tim locke
Hi first of all, thanks to those who helped. Sorry to karsten who seem to dislike yahoo mail, I'll get a decent mua nxt time. However, I still need a bit more help. Here's the list of my scripts that clearly needs cleaning/fixing... (see below), I've included the data for clarity. data: scans.txt

Re: whats wrong with this grep?

2002-06-16 Thread Karsten M. Self
on Sun, Jun 16, 2002, Craig Dickson ([EMAIL PROTECTED]) wrote: > begin Tim locke quotation: > > > Craig, Sorry about not being clear on my question. > > It's because I'm having a hard time analysing large > > amount of traffic logs and the fact that I'm not an > > expert at scripting and what I

Re: whats wrong with this grep?

2002-06-16 Thread Craig Dickson
begin Tim locke quotation: > Craig, Sorry about not being clear on my question. > It's because I'm having a hard time analysing large > amount of traffic logs and the fact that I'm not an > expert at scripting and what I was looking for was a > quick way to get the number of src ips. Okay, but

Re: whats wrong with this grep?

2002-06-16 Thread Tim locke
Craig, Sorry about not being clear on my question. It's because I'm having a hard time analysing large amount of traffic logs and the fact that I'm not an expert at scripting and what I was looking for was a quick way to get the number of src ips. How do you expect anyone to know what's wrong wit

Re: whats wrong with this grep?

2002-06-16 Thread Craig Dickson
begin Tim locke quotation: > grep "..\/..\-..\:..\:" oos.txt | cut -d \> -f 1 | > cut -d \ -f 2 | cut -d \: -f 1 | sed s/\ //g | sort | > uniq -c | sort -nr > oos.log How do you expect anyone to know what's wrong with it if you don't tell us what you expect it to do? The main comment I have

whats wrong with this grep?

2002-06-16 Thread Tim locke
grep "..\/..\-..\:..\:" oos.txt | cut -d \> -f 1 | cut -d \ -f 2 | cut -d \: -f 1 | sed s/\ //g | sort | uniq -c | sort -nr > oos.log __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- To UNSUBSCRIBE, email to [