diff options
author | June McEnroe <june@causal.agency> | 2018-09-07 21:21:15 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-09-07 21:21:15 -0400 |
commit | 989fc01cb15aab7044093c2e34e51c458624534c (patch) | |
tree | 8b346d3753d81646613402bfffe9b6ae75db0812 | |
parent | Add wake.1 (diff) | |
download | src-989fc01cb15aab7044093c2e34e51c458624534c.tar.gz src-989fc01cb15aab7044093c2e34e51c458624534c.zip |
Add watch.1
-rw-r--r-- | bin/watch.1 | 30 |
1 files changed, 30 insertions, 0 deletions
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 . |