1
0
Fork 0
mirror of synced 2024-05-24 19:15:21 -04:00
Commit graph

2 commits

Author SHA1 Message Date
Eric Nielsen f812c1bb6a [debug] Refactor debug module
Use `$PS4` debugging prompt to generate timestamps, instead of GNU `date`.
This also keeps timestamps and respective command together, something
that `paste` could not guarantee given some commands may have multiple lines.

The prompt timestamp has a precision of 6 decimals. The `printf "%12.9f\n"`
instruction with 9 decimals was kept to keep producing "the **SAME** output".
This could be replaced to `printf "%12.6f\n"` to make the output
smaller.
Also, only the first line of commands with multiple lines are saved, to
keep the output format backwards-compatible.

Closes #84
2016-09-27 15:59:02 -07:00
Matt Hamilton 50c8f70179 add debug module 2015-12-27 19:13:57 -05:00