mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 16:35:37 +02:00
$: add examples (#15636)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
parent
ee5193e4ae
commit
0ed803f864
1 changed files with 8 additions and 0 deletions
|
@ -22,3 +22,11 @@
|
|||
- Expand with the output of `command` and run it. Same as enclosing `command` in backtics:
|
||||
|
||||
`$({{command}})`
|
||||
|
||||
- List how many arguments the current context has:
|
||||
|
||||
`echo $#`
|
||||
|
||||
- Print out a Bash array:
|
||||
|
||||
`echo ${array[@]}`
|
||||
|
|
Loading…
Add table
Reference in a new issue