From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DqbK4-0000s2-BX for garchives@archives.gentoo.org; Thu, 07 Jul 2005 18:42:08 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j67IdxMB018803; Thu, 7 Jul 2005 18:39:59 GMT Received: from mail.bway.net (xena.bway.net [216.220.96.26]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j67IXT6W023385 for ; Thu, 7 Jul 2005 18:33:30 GMT Received: (qmail 25187 invoked by uid 0); 7 Jul 2005 18:33:30 -0000 Received: from unknown (HELO ida.bway.net) (216.220.96.4) by smtp.bway.net with (EDH-RSA-DES-CBC3-SHA encrypted) SMTP; 7 Jul 2005 18:33:30 -0000 Date: Thu, 7 Jul 2005 14:32:36 -0400 (EDT) From: "A. Khattri" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Potential Supid question re Grep In-Reply-To: <200507071918.27760.mike@thompsonmike.co.uk> Message-ID: References: <200507071918.27760.mike@thompsonmike.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archives-Salt: 760b6155-b20d-4df3-8774-03ee4cd40588 X-Archives-Hash: 569efed9d90b00b567eccd6af6ed8130 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 starts on the 1st may, however the logs > contain details from the 25th Febuary. What am I doing wrong? Show us some sample log lines. -- -- gentoo-user@gentoo.org mailing list