From 6f0488d666a9470189186309b6d1e4f111251bfd Mon Sep 17 00:00:00 2001 From: Fazle Arefin Date: Sun, 4 Aug 2024 20:19:32 +1000 Subject: [PATCH] read: edit page (#13352) --- pages/common/read.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/read.md b/pages/common/read.md index bb43cf74f..3b4989729 100644 --- a/pages/common/read.md +++ b/pages/common/read.md @@ -11,6 +11,6 @@ `read -r {{variable}}` -- Read `stdin` and perform an action on every line: +- Read `stdin` or file and perform an action on every line: -`while read line; do echo "$line"; done` +`while read line; do {{echo|ls|rm|...}} "$line"; done < {{/dev/stdin|path/to/file|...}}`