From owner-freebsd-questions Thu Feb 21 11:48:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from narf.indite.org (narf.indite.org [208.187.236.41]) by hub.freebsd.org (Postfix) with ESMTP id 1F3FA37B405 for ; Thu, 21 Feb 2002 11:48:25 -0800 (PST) Received: (from victor@localhost) by narf.indite.org (8.11.6/8.11.6) id g1LJmjq14343; Thu, 21 Feb 2002 11:48:45 -0800 (PST) (envelope-from victor) Date: Thu, 21 Feb 2002 11:48:45 -0800 From: Victor Bondarenko To: Scott Aitken Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Sorting Apache logs by Date and Time Message-ID: <20020221114845.A14044@indite.org> References: <20020222050939.A43475@gandalf.scott.sh> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020222050939.A43475@gandalf.scott.sh>; from null0@pobox.com on Fri, Feb 22, 2002 at 05:09:40AM +1100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Feb 22, 2002 at 05:09:40AM +1100, Scott Aitken wrote: > I have found difficulty in using the sort utility because of the > textual month names, as well as the fact that the separators are both > slashes and colons. If you know Perl, check out Date::Calc - http://www.perldoc.com/perl5.6.1/lib/Date/Calc.html. There are probably other ways as well. HTH, Victor -- victor@indite.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message