App::Timestamper::Format - prefix lines with the timestamps of their arrivals.
version 0.0.2
$ long-running-process | tee log | ts-format
App::Timestamper is a pure-Perl command line program that filters the input so the timestamps (in seconds+fractions since the UNIX epoch) are prefixed to the lines based on the time of the arrival.
So if the input was something like:
First Line Second Line Third Line
It will become something like:
1435254285.978485482\tFirst Line 1435254302.569615087\tSecond Line 1435254319.809459781\tThird Line
Shlomi Fish <shlomif@cpan.org>
This software is Copyright (c) 2018 by Shlomi Fish.
This is free software, licensed under:
The MIT (X11) License
Please report any bugs or feature requests on the bugtracker website https://github.com/shlomif/app-timestamper-format/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
To install App::Timestamper::Format, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Timestamper::Format
CPAN shell
perl -MCPAN -e shell install App::Timestamper::Format
For more information on module installation, please visit the detailed CPAN module installation guide.