Update bash.md
This commit is contained in:
parent
42df935e43
commit
aa8c2632d7
4
bash.md
4
bash.md
|
@ -192,11 +192,15 @@ comment
|
|||
|
||||
### Substrings
|
||||
|
||||
| Expression | Description |
|
||||
| --------------- | ------------------------------ |
|
||||
| `${FOO:0:3}` | Substring _(position, length)_ |
|
||||
| `${FOO:(-3):3}` | Substring from the right |
|
||||
|
||||
### Length
|
||||
|
||||
| Expression | Description |
|
||||
| ---------- | ---------------- |
|
||||
| `${#FOO}` | Length of `$FOO` |
|
||||
|
||||
### Manipulation
|
||||
|
|
Loading…
Reference in New Issue