minix man page for ts

Query: ts

OS: minix

Section: 1

Links: minix man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

TS(1)																	     TS(1)

NAME
ts - timestamp input
SYNOPSIS
ts [-r] [format]
DESCRIPTION
ts adds a timestamp to the beginning of each line of input. The optional format parameter controls how the timestamp is formatted, as used by strftime(3). The default format is "%b %d %H:%M:%S". In addition to the regular strftime conversion specifications, "%.S" and "%.s" are like "%S" and "%s", but provide subsecond resolution (ie, "30.00001" and "1301682593.00001"). If the -r switch is passed, it instead converts existing timestamps in the input to relative times, such as "15m5s ago". Many common timestamp formats are supported. Note that the Time::Duration and Date::Parse perl modules are required for this mode to work. Currently,A converting localized dates is not supported. If both -r and a format is passed, the existing timestamps are converted to the specified format.
ENVIRONMENT
The standard TZ environment variable controls what time zone dates are assumed to be in, if a timezone is not specified as part of the date.
AUTHOR
Copyright 2006 by Joey Hess <joey@kitenet.net> Licensed under the GNU GPL. moreutils 2011-04-01 TS(1)
Related Man Pages
date::parse(3) - mojave
date::format(3) - redhat
date::parse(3) - osx
gmstrftime(3) - php
html::formhandler::field::date(3pm) - debian
Similar Topics in the Unix Linux Community
Whats Behind Your Name?
Tricky Shell script
Tetris Game -- based on a shell script (new algorithm)
The Start Of A Simple Audio Scope Shell Script...
&quot;Thanks&quot; button dead?