Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2002 11:48:45 -0800
From:      Victor Bondarenko <victor@indite.org>
To:        Scott Aitken <null0@pobox.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Sorting Apache logs by Date and Time
Message-ID:  <20020221114845.A14044@indite.org>
In-Reply-To: <20020222050939.A43475@gandalf.scott.sh>; from null0@pobox.com on Fri, Feb 22, 2002 at 05:09:40AM %2B1100
References:  <20020222050939.A43475@gandalf.scott.sh>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020221114845.A14044>