tstopwatch.1 - stopwatch - simple timer for console or x root window
 (HTM) git clone git://src.adamsgaard.dk/stopwatch
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       tstopwatch.1 (1013B)
       ---
            1 .Dd $Mdocdate$
            2 .Dt STOPWATCH 1
            3 .Os
            4 .Sh NAME
            5 .Nm stopwatch
            6 .Nd reports elapsed time after launch
            7 .Sh SYNOPSIS
            8 .Nm
            9 .Op Fl p Ar prefix
           10 .Op Fl P Ar postfix
           11 .Op Fl i Ar interval
           12 .Op Fl x
           13 .Sh DESCRIPTION
           14 The
           15 .Nm
           16 prints the elapsed time to standard output by default.
           17 The time is written in the format "%S s" for elapsed durations less
           18 than one minute long, "%M:%SS" for durations less than one hour,
           19 and "%H:%MM:%SS" for all longer durations.
           20 .Pp
           21 The options are as follows:
           22 .Bl -tag -width Ds
           23 .It Fl p Ar prefix
           24 Print the
           25 .Ar prefix
           26 string before the time stamp.
           27 .It Fl P Ar postfix
           28 Print the
           29 .Ar postfix
           30 string after the time stamp.
           31 .It Fl i Ar interval
           32 update the elapsed time with this interval in seconds.
           33 .It Fl x
           34 write the output to the X root window parameter, which
           35 .Xr dwm 1
           36 uses as status line.
           37 .El
           38 .Sh EXIT STATUS
           39 .Nm
           40 exits with 0 on success, and >0 if a a runtime error occurs.
           41 .Sh SEE ALSO
           42 .Xr dwm 1 ,
           43 .Xr spoon 1 ,
           44 .Xr timer 1 ,
           45 .Xr xsetroot 1
           46 .Sh AUTHORS
           47 .An Anders Damsgaard Aq Mt anders@adamsgaard.dk