From a0007f78f8bea65a458630f941a45e983b75ec4f Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 7 Sep 2018 21:21:15 -0400 Subject: Add watch.1 --- bin/watch.1 | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 bin/watch.1 (limited to 'bin') diff --git a/bin/watch.1 b/bin/watch.1 new file mode 100644 index 00000000..172115af --- /dev/null +++ b/bin/watch.1 @@ -0,0 +1,30 @@ +.Dd $Mdocdate$ +.Dt WATCH 1 +.Os "Causal Agency" +.Sh NAME +.Nm watch +.Nd watch files +.Sh SYNOPSIS +.Nm +.Ar +.Ar command +.Nm +.Ar +.Cm -- +.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 . -- cgit 1.4.1