Skip to main content

Add an example of using Unix pipelines

ID
d3b9dfb
date
2025-01-11 11:20:44+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
852e623
message
Add an example of using Unix pipelines
changed files
1 file, 13 additions

Changed files

README.md (1397) → README.md (1648)

diff --git a/README.md b/README.md
index ba7f41f..2319e09 100644
--- a/README.md
+++ b/README.md
@@ -65,6 +65,19 @@ ragout
 Tarpeia
 ```
 
+You can also pipe the output of another command to it, for example if I wanted to find 5 random words starting with 'a':
+
+```console
+$ grep '^a' /usr/share/dict/words | randline 5
+approachabl
+autecological
+alogical
+ambrain
+anticonstitutionally
+```
+
+
+