1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- $OpenBSD: patch-watch_1,v 1.2 2009/06/04 00:18:31 jasper Exp $
- --- watch.1.orig Wed Jun 3 18:12:43 2009
- +++ watch.1 Wed Jun 3 18:15:13 2009
- @@ -1,11 +1,11 @@
- -.TH WATCH 1 "1999 Apr 3" " " "Linux User's Manual"
- +.TH GNUWATCH 1 "1999 Apr 3" " " "Linux User's Manual"
- .SH NAME
- -watch \- execute a program periodically, showing output fullscreen
- +gnuwatch \- execute a program periodically, showing output fullscreen
- .SH SYNOPSIS
- -.B watch
- +.B gnuwatch
- .I [\-dhvt] [\-n <seconds>] [\-\-differences[=cumulative]] [\-\-help] [\-\-interval=<seconds>] [\-\-no\-title] [\-\-version] <command>
- .SH DESCRIPTION
- -.BR watch
- +.BR gnuwatch
- runs
- .I command
- repeatedly, displaying its output (the first screenfull). This allows you to
- @@ -30,7 +30,7 @@ or
- option turns off the header showing the interval, command, and current
- time at the top of the display, as well as the following blank line.
- .PP
- -.BR watch
- +.BR gnuwatch
- will run until interrupted.
- .SH NOTE
- Note that
- @@ -42,33 +42,33 @@ Note that POSIX option processing is used (i.e., optio
- the first non-option argument). This means that flags after
- .I command
- don't get interpreted by
- -.BR watch
- +.BR gnuwatch
- itself.
- .SH EXAMPLES
- .PP
- To watch for mail, you might do
- .IP
- -watch \-n 60 from
- +gnuwatch \-n 60 from
- .PP
- To watch the contents of a directory change, you could use
- .IP
- -watch \-d ls \-l
- +gnuwatch \-d ls \-l
- .PP
- If you're only interested in files owned by user joe, you might use
- .IP
- -watch \-d 'ls \-l | fgrep joe'
- +gnuwatch \-d 'ls \-l | fgrep joe'
- .PP
- To see the effects of quoting, try these out
- .IP
- -watch echo $$
- +gnuwatch echo $$
- .IP
- -watch echo '$$'
- +gnuwatch echo '$$'
- .IP
- -watch echo "'"'$$'"'"
- +gnuwatch echo "'"'$$'"'"
- .PP
- You can watch for your administrator to install the latest kernel with
- .IP
- -watch uname -r
- +gnuwatch uname -r
- .PP
- (Just kidding.)
- .SH BUGS
- @@ -81,7 +81,7 @@ Non-printing characters are stripped from program outp
- part of the command pipeline if you want to see them.
- .SH AUTHORS
- The original
- -.B watch
- +.B gnuwatch
- was written by Tony Rems <rembo@unisoft.com> in 1991, with mods and
- corrections by Francois Pinard. It was reworked and new features added by
- Mike Coleman <mkc@acm.org> in 1999.
|