Update bash.md

This commit is contained in:
Rico Sta. Cruz
2020-06-13 10:15:03 +10:00
committed by GitHub
parent 42df935e43
commit aa8c2632d7
+7 -3
View File
@@ -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