Replaces anything that looks like a UNIX timestamp with a human readable representation in the system's local time, e.g.:
echo "foo bar 1659605680 blabla" | ts
# => foo bar 2022-08-04 11:34:40 blabla
This comes in handy when inspecting the output of tools like kcat for instance.
From source with the Rust toochain installed:
cargo install --path .
You should now be able to run ts
from everywhere:
ts --help