summary refs log tree commit diff
path: root/bin/man/wat.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-01 01:00:13 -0500
committerJune McEnroe <june@causal.agency>2019-01-01 01:00:13 -0500
commitdfdd88403a68d046cc229852a5549a98e4ce56ff (patch)
tree4496163a0f890b9f069ee5e6714a1feff6cccec0 /bin/man/wat.1
parentMake all copyright headers consistent (diff)
downloadsrc-dfdd88403a68d046cc229852a5549a98e4ce56ff.tar.gz
src-dfdd88403a68d046cc229852a5549a98e4ce56ff.zip
Rename rec to wat
Diffstat (limited to 'bin/man/wat.1')
-rw-r--r--bin/man/wat.135
1 files changed, 35 insertions, 0 deletions
diff --git a/bin/man/wat.1 b/bin/man/wat.1
new file mode 100644
index 00000000..f4ef4ed6
--- /dev/null
+++ b/bin/man/wat.1
@@ -0,0 +1,35 @@
+.Dd January 1, 2018
+.Dt WAT 1
+.Os
+.
+.Sh NAME
+.Nm wat
+.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 wat wat.c make
+.Dl wat wat.c wake.c -- make wat wake
+.
+.Sh CAVEATS
+.Nm
+does not support Linux
+since it uses
+.Xr kqueue 2 .