read: edit page (#13352)
This commit is contained in:
@@ -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|...}}`
|
||||
|
Reference in New Issue
Block a user