Re: your mail

From: Heiko Schlittermann <heiko@dont-contact.us>
Date: Fri, 15 May 1998 09:30:58 +0200

On Fri, May 15, 1998 at 03:26:24PM +1000, Andrew Specht wrote:
: Hi,
:
: I was wondering if there is a script out there somewhere that converts the
: number in access.log (or store.log) to the date and time?

    perl -pe 's/^\d+\.\d+/localtime $&/e' access.log

which prints to stdout

    perl -i -pe 's/^\d+\.\d+/localtime $&/e' access.log

which edits in place.
    

        Heiko
---------------------------------------------------------------
datom * internet * support ** Heiko Schlittermann & Partner GbR
mailto:is@datom.de http://www.datom.de/is voice:+49-351-8029981
Heiko Schlittermann HS12-RIPE finger:heiko@datom.de -----------
Received on Fri May 15 1998 - 00:34:17 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:40:11 MST