From owner-freebsd-current@FreeBSD.ORG Wed Aug 16 21:33:34 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EF9E16A4DD for ; Wed, 16 Aug 2006 21:33:34 +0000 (UTC) (envelope-from prvs=julian=376b08c52@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6AED43D58 for ; Wed, 16 Aug 2006 21:33:33 +0000 (GMT) (envelope-from prvs=julian=376b08c52@elischer.org) Received: from unknown (HELO [10.251.18.229]) ([10.251.18.229]) by a50.ironport.com with ESMTP; 16 Aug 2006 14:33:34 -0700 Message-ID: <44E38F2C.8000207@elischer.org> Date: Wed, 16 Aug 2006 14:33:32 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Aleksey Perov References: <44DD4510.5070002@elischer.org> <20060816131824.67a8053b.algardo@sura.ru> In-Reply-To: <20060816131824.67a8053b.algardo@sura.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: suggested addition to 'date' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Aug 2006 21:33:34 -0000 Aleksey Perov wrote: >Julian Elischer wrote: > > > >>At various times I've wanted to add timestamps to logfiles as they are >>generated.. >> >> > >This wheel has been invented million years ago. > >Install DJB's daemontools from ports, then run > >$ yes | tai64n | tai64nlocal >2006-08-16 13:13:50.001417500 y >2006-08-16 13:13:50.001421500 y >2006-08-16 13:13:50.001424500 y >2006-08-16 13:13:50.001428500 y >2006-08-16 13:13:50.001431500 y >2006-08-16 13:13:50.001434500 y >2006-08-16 13:13:50.001437500 y >2006-08-16 13:13:50.001441500 y >2006-08-16 13:13:50.001444500 y >2006-08-16 13:13:50.001447500 y >2006-08-16 13:13:50.001451500 y >2006-08-16 13:13:50.001454500 y >2006-08-16 13:13:50.001458500 y >2006-08-16 13:13:50.001461500 y >^C > >and have a nice day :-) > > > > > I can not install ports onto these machines. They are appliances. I will simply put the unhancement in out own cvs tree, and the enhancement will be private. I'm still comletely amazed that no-one but me thinks this is a good idea as it seems absolutly obvious to me and it doesn't affect date's usual behaviour in the slightest.