mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-14 21:48:37 +00:00
Update cheatsheets
This commit is contained in:
@@ -16,6 +16,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`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