Rechercher une page de manuel

Chercher une autre page de manuel:

ts

Langue: en

Autres versions - même langue

Version: 2010-04-28 (ubuntu - 24/10/10)

Section: 1 (Commandes utilisateur)

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'' is expanded to fractional seconds (ie, ``30.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.

O I L R U S E N A T
L U S E I R A T O N
O S A T I R E N U L
E S O R T I U N A L
L O S A I N T U E R
R E U T N I A S O L
L A N U I T R O S E
L U N E R I T A S O
N O T A R I E S U L
T A N E S U R L I O
-- Rapilly, Robert