aboutsummaryrefslogtreecommitdiff
path: root/watch.1
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2003-12-07 02:15:02 +0000
committerDimitri Sokolyuk <demon@dim13.org>2003-12-07 02:15:02 +0000
commit6cf279df3b2529d23fd24c87bc098c090ecb74e6 (patch)
treef373178a5233008958393e3fcf524fc8ef747190 /watch.1
parente997a6ebe20811b59870b6f75098562e3779ce18 (diff)
cleanup
add `title' function add notice to original `watch' author
Diffstat (limited to 'watch.1')
-rw-r--r--watch.125
1 files changed, 16 insertions, 9 deletions
diff --git a/watch.1 b/watch.1
index 22d628f..15bfc29 100644
--- a/watch.1
+++ b/watch.1
@@ -7,14 +7,17 @@
.Nd execute program periodically, showing output fullscreen
.Sh SYNOPSIS
.Nm watch
-.Op Fl v
-.Op Fl s Ar <seconds>
+.Op Fl vns Ar <seconds>
.Op Ar command
.Sh DESCRIPTION
-The
.Nm
-utility allow you to watch a program as it changes.
-By default it updates it self every 2 seconds.
+runs
+.Ar command
+repeatedly, displaying its output fullscreen.
+This allow you to watch a
+.Ar command
+output as it changes.
+By default it updates output every 2 seconds.
.Pp
The
.Nm
@@ -23,10 +26,12 @@ will end with keyboard interrupt
.Pp
The options are as follows:
.Bl -tag -width Ds
-.It Fl s Ar <seconds>
-Delay in seconds between screen refresh.
.It Fl v
Show version and exit.
+.It Fl n
+Show no title.
+.It Fl s Ar <seconds>
+Delay in seconds between screen refresh.
.El
.Pp
.Sh EXAMPLE
@@ -34,6 +39,8 @@ Show version and exit.
-s 1 ps x
.Pp
.Sh AUTHORS
-The
+The original
.Nm
-utility was written by demon <demon@vhost.dyndns.org> in 2003.
+was written by Tony Rems <rembo@unisoft.com> in 1991,
+with mods and corrections by Francois Pinard.
+It was rewritten by demon <demon@vhost.dyndns.org> in 2003.