Merge pull request #1402 from TaylorPzreal/patch-1
This commit is contained in:
commit
a78a39538b
10
bash.md
10
bash.md
|
@ -192,12 +192,16 @@ comment
|
|||
|
||||
### Substrings
|
||||
|
||||
| `${FOO:0:3}` | Substring _(position, length)_ |
|
||||
| `${FOO:-3:3}` | Substring from the right |
|
||||
| Expression | Description |
|
||||
| --------------- | ------------------------------ |
|
||||
| `${FOO:0:3}` | Substring _(position, length)_ |
|
||||
| `${FOO:(-3):3}` | Substring from the right |
|
||||
|
||||
### Length
|
||||
|
||||
| `${#FOO}` | Length of `$FOO` |
|
||||
| Expression | Description |
|
||||
| ---------- | ---------------- |
|
||||
| `${#FOO}` | Length of `$FOO` |
|
||||
|
||||
### Manipulation
|
||||
|
||||
|
|
Loading…
Reference in New Issue