commit 24029110a1efd51f3cf4652c504c7c6eb12bb826
parent 8d31be2785ab140a087843c2a125e30a7727376d
Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 2 Jun 2020 09:49:45 +0200
Update manpage example to showcase path on STDIN
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wendy.1 b/wendy.1
@@ -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,