tUpdate manpage example to showcase path on STDIN - wendy - watch files/directories and run commands on any event
HTML git clone git://z3bra.org/wendy
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 24029110a1efd51f3cf4652c504c7c6eb12bb826
DIR parent 8d31be2785ab140a087843c2a125e30a7727376d
HTML Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 2 Jun 2020 09:49:45 +0200
Update manpage example to showcase path on STDIN
Diffstat:
M wendy.1 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/wendy.1 b/wendy.1
t@@ -109,7 +109,7 @@ wendy -m 768 -w . sh -c 'echo $WENDY_EVENT $WENDY_INODE'
.Ss Rebuild a project when source files change
The mask is the sum of IN_MODIFY + IN_CLOSE_WRITE events:
.Bd -literal -offset Ds
-wendy -m 10 -w foo.c -w foo.h -w lib/libbar.c make
+find . -name '*.[ch]' | wendy make
.Ed
.Sh SEE ALSO
.Xr inotify 7,