>>>>> "Oliver" == Oliver Hartkopp <[email protected]> writes:

    Oliver> On 17.01.2011 16:52, Uwe Bonnes wrote:
    >>>>>>> "Oliver" == Oliver Hartkopp <[email protected]> writes:
    >>
    Oliver> generally a reasonable idea. But your patch breaks the number of
    Oliver> items a shell script might expect to read when parsing a line.
    >>  What about an optional field width after -td, like ./candump -td2
...

Well,

changing an existing output format might break scripts that depend on the
format. My latter proposal was absolut non intrusive, so no script should
break on that change.

   printf("(%03ld.%06ld) ", diff.tv_sec, diff.tv_usec);

however is fine too.

Bye
-- 
Uwe Bonnes                [email protected]

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
_______________________________________________
Socketcan-core mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-core

Reply via email to