patch-watch_1 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. $OpenBSD: patch-watch_1,v 1.2 2009/06/04 00:18:31 jasper Exp $
  2. --- watch.1.orig Wed Jun 3 18:12:43 2009
  3. +++ watch.1 Wed Jun 3 18:15:13 2009
  4. @@ -1,11 +1,11 @@
  5. -.TH WATCH 1 "1999 Apr 3" " " "Linux User's Manual"
  6. +.TH GNUWATCH 1 "1999 Apr 3" " " "Linux User's Manual"
  7. .SH NAME
  8. -watch \- execute a program periodically, showing output fullscreen
  9. +gnuwatch \- execute a program periodically, showing output fullscreen
  10. .SH SYNOPSIS
  11. -.B watch
  12. +.B gnuwatch
  13. .I [\-dhvt] [\-n <seconds>] [\-\-differences[=cumulative]] [\-\-help] [\-\-interval=<seconds>] [\-\-no\-title] [\-\-version] <command>
  14. .SH DESCRIPTION
  15. -.BR watch
  16. +.BR gnuwatch
  17. runs
  18. .I command
  19. repeatedly, displaying its output (the first screenfull). This allows you to
  20. @@ -30,7 +30,7 @@ or
  21. option turns off the header showing the interval, command, and current
  22. time at the top of the display, as well as the following blank line.
  23. .PP
  24. -.BR watch
  25. +.BR gnuwatch
  26. will run until interrupted.
  27. .SH NOTE
  28. Note that
  29. @@ -42,33 +42,33 @@ Note that POSIX option processing is used (i.e., optio
  30. the first non-option argument). This means that flags after
  31. .I command
  32. don't get interpreted by
  33. -.BR watch
  34. +.BR gnuwatch
  35. itself.
  36. .SH EXAMPLES
  37. .PP
  38. To watch for mail, you might do
  39. .IP
  40. -watch \-n 60 from
  41. +gnuwatch \-n 60 from
  42. .PP
  43. To watch the contents of a directory change, you could use
  44. .IP
  45. -watch \-d ls \-l
  46. +gnuwatch \-d ls \-l
  47. .PP
  48. If you're only interested in files owned by user joe, you might use
  49. .IP
  50. -watch \-d 'ls \-l | fgrep joe'
  51. +gnuwatch \-d 'ls \-l | fgrep joe'
  52. .PP
  53. To see the effects of quoting, try these out
  54. .IP
  55. -watch echo $$
  56. +gnuwatch echo $$
  57. .IP
  58. -watch echo '$$'
  59. +gnuwatch echo '$$'
  60. .IP
  61. -watch echo "'"'$$'"'"
  62. +gnuwatch echo "'"'$$'"'"
  63. .PP
  64. You can watch for your administrator to install the latest kernel with
  65. .IP
  66. -watch uname -r
  67. +gnuwatch uname -r
  68. .PP
  69. (Just kidding.)
  70. .SH BUGS
  71. @@ -81,7 +81,7 @@ Non-printing characters are stripped from program outp
  72. part of the command pipeline if you want to see them.
  73. .SH AUTHORS
  74. The original
  75. -.B watch
  76. +.B gnuwatch
  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.