Re: [gentoo-user] Potential Supid question re Grep

2005-07-08 Thread Toby Cubitt
On Thu, Jul 07, 2005 at 07:18:26PM +0100, Michael Thompson wrote: I am trying to extract information in my logs for a abuse department and am using the code: Code: zcat /var/log/messages.*?.gz | grep 212.56.68.108 /home/mike/abuse1 The logs are standard: messages.??.gz However,

[gentoo-user] Potential Supid question re Grep

2005-07-07 Thread Michael Thompson
I am trying to extract information in my logs for a abuse department and am using the code: Code: zcat /var/log/messages.*?.gz | grep 212.56.68.108 /home/mike/abuse1 The logs are standard: messages.??.gz However, when I examine the output, it starts on the 1st may, however the logs contain

Re: [gentoo-user] Potential Supid question re Grep

2005-07-07 Thread A. Khattri
On Thu, 7 Jul 2005, Michael Thompson wrote: I am trying to extract information in my logs for a abuse department and am using the code: Code: zcat /var/log/messages.*?.gz | grep 212.56.68.108 /home/mike/abuse1 The logs are standard: messages.??.gz However, when I examine the output, it

Re: [gentoo-user] Potential Supid question re Grep

2005-07-07 Thread Michael Thompson
On Thursday 07 July 2005 19:32, A. Khattri wrote: On Thu, 7 Jul 2005, Michael Thompson wrote: I am trying to extract information in my logs for a abuse department and am using the code: Code: zcat /var/log/messages.*?.gz | grep 212.56.68.108 /home/mike/abuse1 The logs are

Re: [gentoo-user] Potential Supid question re Grep

2005-07-07 Thread A. Khattri
On Thu, 7 Jul 2005, Michael Thompson wrote: Apr 24 06:39:51 polaris INPUT BLOCKED: IN=eth1 OUT= MAC=00:09:5b:1f:16:42:06:05:5d:9f:a3:74:08:00 SRC=212.56.68.108 DST=212.159.25.17 LEN=71 TOS=0x00 PREC=0xA0 TTL=58 ID=0 DF PROTO=UDP SPT=46245 DPT=161 LEN=51 Looks OK and grep should find it. Do

Re: [gentoo-user] Potential Supid question re Grep

2005-07-07 Thread Richard Fish
Michael Thompson wrote: I am trying to extract information in my logs for a abuse department and am using the code: Code: zcat /var/log/messages.*?.gz | grep 212.56.68.108 /home/mike/abuse1 The logs are standard: messages.??.gz However, when I examine the output, it starts on the 1st may,

Re: [gentoo-user] Potential Supid question re Grep

2005-07-07 Thread Nick Rout
On Fri, 08 Jul 2005 00:54:46 +0200 Richard Fish wrote: Michael Thompson wrote: I am trying to extract information in my logs for a abuse department and am using the code: Code: zcat /var/log/messages.*?.gz | grep 212.56.68.108 /home/mike/abuse1 The logs are standard: