Update bash.md

Substring from the right should include __parentheses__
This commit is contained in:
TaylorPzreal 2020-04-07 08:45:15 +08:00 committed by GitHub
parent cb4e03077f
commit 42df935e43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ comment
### Substrings
| `${FOO:0:3}` | Substring _(position, length)_ |
| `${FOO:-3:3}` | Substring from the right |
| `${FOO:(-3):3}` | Substring from the right |
### Length