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.60) (envelope-from ) id 1GdQys-0000v7-ET for garchives@archives.gentoo.org; Fri, 27 Oct 2006 12:38:38 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9RCZLji012436; Fri, 27 Oct 2006 12:35:21 GMT Received: from cubo.math.ist.utl.pt (cubo.math.ist.utl.pt [193.136.196.1]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9RCUGh3019054 for ; Fri, 27 Oct 2006 12:30:16 GMT Received: from jmaa.math.ist.utl.pt (jmaa.math.ist.utl.pt [193.136.196.112]) by cubo.math.ist.utl.pt (8.13.7/8.13.6) with ESMTP id k9RCUGlX012341 for ; Fri, 27 Oct 2006 13:30:16 +0100 Received: (qmail 21609 invoked from network); 27 Oct 2006 13:30:15 +0100 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 27 Oct 2006 13:30:15 +0100 Date: Fri, 27 Oct 2006 13:30:15 +0100 (WEST) From: Jorge Almeida To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] date in emerge logs In-Reply-To: <200610271208.26668.peter.ruskin@dsl.pipex.com> Message-ID: References: <200610271230.36774.bo.andresen@zlin.dk> <200610271208.26668.peter.ruskin@dsl.pipex.com> 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; format=flowed X-Archives-Salt: 81d1ff69-5d6e-4ddb-adf3-5639afde2ad8 X-Archives-Hash: c35c42ba0b86230a6018d8221d48b835 On Fri, 27 Oct 2006, Peter Ruskin wrote: >> On Friday 27 October 2006 11:55, Jorge Almeida wrote: >>> I'm assuming that 1161911504 is some date. If so, how can I >>> translate it into something human-meaningfull? >> >> # tail /var/log/emerge.log | awk -F: '{print strftime("%D %X %Z", >> $1),$2}' > > tail /var/log/emerge.log | awk -F: '{print strftime("%c", $1),$2}' > is more internationally friendly (and less to type). > Thank you, this is what I need. Thanks to everyone else who replied, too. -- Jorge Almeida -- gentoo-user@gentoo.org mailing list