mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-11 03:55:31 +03:00
read: edit page (#13352)
This commit is contained in:
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
Block a user