|
From: | Hal Murray |
Subject: | Re: [gpsd-dev] gpsmon: says 8N1N1, missing error msg |
Date: | Tue, 19 Nov 2013 03:07:59 -0800 |
address@hidden said: >> It would help to have time stamps on each line. Is there a >> standard utility that does that? > I think you can approximate that by piping through this: > ( while true; do read l || exit; date=`date --rfc-3339=seconds`; echo $date > "$l"; done) Neat. Thanks. Unfortunately, gpsmon doesn't flush the buffer so it all gets the same time stamp when there is enough. -- These are my opinions. I hate spam.
[Prev in Thread] | Current Thread | [Next in Thread] |