about summary refs log tree commit diff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README9
1 files changed, 9 insertions, 0 deletions
diff --git a/README b/README
index c537bc8..b93d8f8 100644
--- a/README
+++ b/README
@@ -25,6 +25,15 @@ DESCRIPTION
 EXIT STATUS
      The rwc utility exits 0 on success, and >0 if an error occurs.
 
+EXAMPLES
+     Watch all source files and run make(1) when something changes:
+
+           % git ls-files | rwc | xe -v -s make
+
+     Make a sound when a download is done:
+
+           % rwc ~/Downloads | xe -s 'mpv ~/.sounds/bing.wav'
+
 SEE ALSO
      entr(1), inotifywatch(1), wendy(1)