summary refs log tree commit diff
path: root/bin/man/rec.1
diff options
context:
space:
mode:
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 .