wtime

Section: WIN SYSTEM (1W)
Updated: 2000.12.20
Index Return to Main Contents
 

NAME

wtime - Time staggering filter for win format filter  

SYNOPSIS

wtime [ -h hours ] [ -s sec ]

 

DESCRIPTION

Wtime makes win format file given by the standard input to be input and staggers time by the specified amount to write in the standard output. Staggering direction is one by which "specified time is added to time stamp." Therefore, positive time is specified to push time stamp forward, and negative time is specified to push time stamp backward.

Wtime staggers time of total files. When it is necessary to stagger for each channel, it is necessary to separate by

wch(1W) and connect by wadd(1W).
When wtime is initiated without argument, brief usage is displayed.  

OPTIONS

-h
Gives time hours to be staggered in hour. Hours must be integer.
-s
Gives time sec in second. Sec can be real number. When staggering odd second (not integer), dummy data is attached to the head of the first 1 second and latter part of the last 1 second is cut to make up. Therefore the number of seconds of the file is invariable.

-h and -s can be specified simultaneously (it is summed).  

TYPICAL USAGE

Time stamp is pushed forward by 9 hours (at the time of UT->JST etc.).
wtime -h 9

Time stamp is pushed backward by 1.234 seconds.

wtime -s -1.234
 

SOURCE

`wtime.c'
 

SEE ALSO

wch(1W), wadd(1W), winformat(1W)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
TYPICAL USAGE
SOURCE
SEE ALSO