|
Line 0
Link Here
|
|
|
1 |
--- cmdwatch.1.orig 2000-11-07 14:59:25.000000000 +0100 |
| 2 |
+++ cmdwatch.1 2008-08-10 18:32:33.000000000 +0200 |
| 3 |
@@ -1,11 +1,11 @@ |
| 4 |
-.TH WATCH 1 "1999 Apr 3" " " "Linux User's Manual" |
| 5 |
+.TH CMDWATCH 1 "1999 Apr 3" " " " " |
| 6 |
.SH NAME |
| 7 |
-watch \- execute a program periodically, showing output fullscreen |
| 8 |
+cmdwatch \- execute a program periodically, showing output fullscreen |
| 9 |
.SH SYNOPSIS |
| 10 |
-.B watch |
| 11 |
+.B cmdwatch |
| 12 |
.I [\-dhv] [\-n <seconds>] [\-\-differences[=cumulative]] [\-\-help] [\-\-interval=<seconds>] [\-\-version] <command> |
| 13 |
.SH DESCRIPTION |
| 14 |
-.BR watch |
| 15 |
+.BR cmdwatch |
| 16 |
runs |
| 17 |
.I command |
| 18 |
repeatedly, displaying its output (the first screenfull). This allows you to |
| 19 |
@@ -17,11 +17,11 @@ |
| 20 |
The |
| 21 |
.I -d or --differences |
| 22 |
flag will highlight the differences between successive updates. The |
| 23 |
-.I --cumulative |
| 24 |
+.I --differences=cumulative |
| 25 |
option makes highlighting "sticky", presenting a running display of all |
| 26 |
positions that have ever changed. |
| 27 |
.PP |
| 28 |
-.BR watch |
| 29 |
+.BR cmdwatch |
| 30 |
will run until interrupted. |
| 31 |
.SH NOTE |
| 32 |
Note that |
| 33 |
@@ -33,33 +33,33 @@ |
| 34 |
the first non-option argument). This means that flags after |
| 35 |
.I command |
| 36 |
don't get interpreted by |
| 37 |
-.BR watch |
| 38 |
+.BR cmdwatch |
| 39 |
itself. |
| 40 |
.SH EXAMPLES |
| 41 |
.PP |
| 42 |
To watch for mail, you might do |
| 43 |
.IP |
| 44 |
-watch \-n 60 from |
| 45 |
+cmdwatch \-n 60 from |
| 46 |
.PP |
| 47 |
To watch the contents of a directory change, you could use |
| 48 |
.IP |
| 49 |
-watch \-d ls \-l |
| 50 |
+cmdwatch \-d ls \-l |
| 51 |
.PP |
| 52 |
If you're only interested in files owned by user joe, you might use |
| 53 |
.IP |
| 54 |
-watch \-d 'ls \-l | fgrep joe' |
| 55 |
+cmdwatch \-d 'ls \-l | fgrep joe' |
| 56 |
.PP |
| 57 |
To see the effects of quoting, try these out |
| 58 |
.IP |
| 59 |
-watch echo $$ |
| 60 |
+cmdwatch echo $$ |
| 61 |
.IP |
| 62 |
-watch echo '$$' |
| 63 |
+cmdwatch echo '$$' |
| 64 |
.IP |
| 65 |
-watch echo "'"'$$'"'" |
| 66 |
+cmdwatch echo "'"'$$'"'" |
| 67 |
.PP |
| 68 |
You can watch for your administrator to install the latest kernel with |
| 69 |
.IP |
| 70 |
-watch uname -r |
| 71 |
+cmdwatch uname -r |
| 72 |
.PP |
| 73 |
(Just kidding.) |
| 74 |
.SH BUGS |
| 75 |
@@ -75,4 +75,5 @@ |
| 76 |
.B watch |
| 77 |
was written by Tony Rems <rembo@unisoft.com> in 1991, with mods and |
| 78 |
corrections by Francois Pinard. It was reworked and new features added by |
| 79 |
-Mike Coleman <mkc@acm.org> in 1999. |
| 80 |
+Mike Coleman <mkc@acm.org> in 1999. This man page based on the watch man |
| 81 |
+page of the Linux User's Manual. |