summary refs log tree commit diff
path: root/bin/man/watch.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-11 22:08:54 -0400
committerJune McEnroe <june@causal.agency>2018-09-11 22:08:54 -0400
commit324026700184917040f360aced5995856eea838f (patch)
tree648db1074e9b7d573fc2d56710711b9bf1eaa0c0 /bin/man/watch.1
parentRewrite gfx.7 and render plaintext README (diff)
downloadsrc-324026700184917040f360aced5995856eea838f.tar.gz
src-324026700184917040f360aced5995856eea838f.zip
Move bin man pages to bin/man
Diffstat (limited to 'bin/man/watch.1')
-rw-r--r--bin/man/watch.135
1 files changed, 35 insertions, 0 deletions
diff --git a/bin/man/watch.1 b/bin/man/watch.1
new file mode 100644
index 00000000..fbcff86a
--- /dev/null
+++ b/bin/man/watch.1
@@ -0,0 +1,35 @@
+.Dd September 7, 2018
+.Dt WATCH 1
+.Os "Causal Agency"
+.
+.Sh NAME
+.Nm watch
+.Nd watch files
+.
+.Sh SYNOPSIS
+.Nm
+.Ar
+.Ar command
+.Nm
+.Ar
+.Fl -
+.Ar command
+.Op Ar argument ...
+.
+.Sh DESCRIPTION
+.Nm
+executes the
+.Ar command
+each time a
+.Ar file
+is modified.
+.
+.Sh EXAMPLES
+.Dl watch watch.c make
+.Dl watch wake.c watch.c -- make wake watch
+.
+.Sh CAVEATS
+.Nm
+does not support Linux
+since it uses
+.Xr kqueue 2 .