mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 13:46:53 +00:00
Update cheatsheets
This commit is contained in:
@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`readarray < {{path/to/file.txt}} {{array_name}}`
|
||||
|
||||
- Remove trailing deliminators (newline by default):
|
||||
- Remove [t]railing deliminators (newline by default):
|
||||
|
||||
`readarray < {{path/to/file.txt}} -t {{array_name}}`
|
||||
|
||||
@@ -24,11 +24,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`readarray < {{path/to/file.txt}} -n {{n}} {{array_name}}`
|
||||
|
||||
- Skip the first `n` lines:
|
||||
- [s]kip the first `n` lines:
|
||||
|
||||
`readarray < {{path/to/file.txt}} -s {{n}} {{array_name}}`
|
||||
|
||||
- Define a custom delimiter:
|
||||
- Define a custom [d]elimiter:
|
||||
|
||||
`readarray < {{path/to/file.txt}} -d {{delimiter}} {{array_name}}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user