summary refs log tree commit diff
path: root/bin/man/rec.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-12-02 22:26:45 -0500
committerJune McEnroe <june@causal.agency>2018-12-02 22:26:45 -0500
commit55e5a2994c834e972503b99dfd344cfd9ac4ac29 (patch)
treecccfbe22c17ada66851f9972a061f45559b1bd08 /bin/man/rec.1
parentRemove \h binding (diff)
downloadsrc-55e5a2994c834e972503b99dfd344cfd9ac4ac29.tar.gz
src-55e5a2994c834e972503b99dfd344cfd9ac4ac29.zip
Rename watch to rec
A watch binary already exists in various places (but isn't useful).
Diffstat (limited to 'bin/man/rec.1')
-rw-r--r--bin/man/rec.135
1 files changed, 35 insertions, 0 deletions
diff --git a/bin/man/rec.1 b/bin/man/rec.1
new file mode 100644
index 00000000..7bc3ebed
--- /dev/null
+++ b/bin/man/rec.1
@@ -0,0 +1,35 @@
+.Dd September 7, 2018
+.Dt REC 1
+.Os "Causal Agency"
+.
+.Sh NAME
+.Nm rec
+.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 rec rec.c make
+.Dl rec rec.c wake.c -- make rec wake
+.
+.Sh CAVEATS
+.Nm
+does not support Linux
+since it uses
+.Xr kqueue 2 .