From 989fc01cb15aab7044093c2e34e51c458624534c Mon Sep 17 00:00:00 2001 From: June 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 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