Add watch manpage

This commit is contained in:
sin 2014-04-13 14:53:17 +01:00
parent 9ba5dbdf13
commit e79038e553
1 changed files with 19 additions and 0 deletions

19
watch.1 Normal file
View File

@ -0,0 +1,19 @@
.TH WATCH 1 ubase-VERSION
.SH NAME
\fBwatch\fR - Execute a program periodically, showing output fullscreen
.SH SYNOPSIS
\fBwatch\fR [\fB-t\fR] [\fB-n\fI interval\fR] \fIcommand\fR
.SH DESCRIPTION
\fBwatch\fR runs \fIcommand\fR repeatedly, displaying its output one
screenfull at a time. This allows you to watch the program output change
over time. By default the program is run every 2 seconds and will run
until terminated.
.SH OPTIONS
.TP
\fB-t\fR
Turn off the header showing the interval, command and current
time at the top of the display, as well as the following blank line. This
is the default action.
.TP
\fB-n\fR
Specify the update interval.