mirror of https://github.com/CrimsonTome/tldr.git
read: edit page (#13352)
parent
9be7b41bdb
commit
6f0488d666
|
@ -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|...}}`
|
||||
|
|
Loading…
Reference in New Issue