about summary refs log tree commit diff
path: root/rwc.1
diff options
context:
space:
mode:
Diffstat (limited to 'rwc.1')
-rw-r--r--rwc.110
1 files changed, 10 insertions, 0 deletions
diff --git a/rwc.1 b/rwc.1
index b34a43a..b300e98 100644
--- a/rwc.1
+++ b/rwc.1
@@ -37,6 +37,16 @@ In this case, deleted files are prefixed by
 .El
 .Sh EXIT STATUS
 .Ex -std
+.Sh EXAMPLES
+Watch all source files and run
+.Xr make 1
+when something changes:
+.Pp
+.Dl % git ls-files | rwc | xe -v -s make
+.Pp
+Make a sound when a download is done:
+.Pp
+.Dl % rwc ~/Downloads | xe -s 'mpv ~/.sounds/bing.wav'
 .Sh SEE ALSO
 .Xr entr 1 ,
 .Xr inotifywatch 1 ,