This commit is contained in:
Rico Sta. Cruz 2017-08-24 12:14:58 +08:00
parent 484373521c
commit 1d60548f99
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 2 additions and 1 deletions

3
sh.md
View File

@ -158,8 +158,9 @@ DIR=${SRC%$BASE} #=> "/path/to" (dirpath)
| --- | --- |
| `${FOO/from/to}` | Replace first match |
| `${FOO//from/to}` | Replace all |
| `${FOO/#from/to}` | Replace prefix |
| --- | --- |
| `${FOO/%from/to}` | Replace suffix |
| `${FOO/#from/to}` | Replace prefix |
### Substrings