timestamp

command
v0.0.0-...-f64633d Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 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