timestamp

command
v0.0.0-...-f3d8a94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

The timestamp command annotates lines read from standard input with the time that they were read. This is useful for seeing timing information on running commands from the shell.

With no file arguments, timestamp prints lines read from standard input prefixed with a timestamp, the time since the timestamp command started. The first line is of the form:

start 2006-01-02 15:04:05.000 -0700

giving the absolute start time.

If files are provided, they are read and the timestamp output in the named files is merged into one time sequence.

With a single file, file names are omitted from the output.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL