On Fri, Jun 15, 2001 at 06:29:10PM +0200, Lou Hevly wrote:
> I would like to begin using multilog instead of splogger. I've
> installed daemontools and run the tests for tai64nlocal successfully:
>
> [root:/usr/local/src/daemontools-0.70]$ date | ./tai64n | ./tai64nlocal
> 2001-06-15 16:11:06.389339500 Fri Jun 15 16:11:06 GMT 2001
>
> The docs say that tai64nlocal reads lines from stdin. But for me
> it just hangs until I hit Ctrl+C:
>
> [root:/usr/local/src/daemontools-0.70]$ ./tai64nlocal
> @4000000037c219bf2ef02e94
> ^C
> [root:/usr/local/src/daemontools-0.70]$
>
tai64nlocal _does_ read from STDIN. From my machine here:
gregw@frodo:~$ tai64nlocal
@400000003b225d8422c3027c
2001-06-09 10:31:38.583205500
The tai timestamp was obtained from a multilog file. The local date was
output by tai64nlocal. Try this timestamp as input (cut 'n' paste):
@400000003b225d8422c3027c
Your timestamp above gave me:
gregw@frodo:~$ tai64nlocal
@4000000037c219bf2ef02e94
1999-08-23 21:04:05.787492500
Did you terminate that timestamp by pressing enter? Or did you just
leave it there...?
--
Greg White