From 1d60548f99c5df2e87679ba1a5916d45e70364ff Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Thu, 24 Aug 2017 12:14:58 +0800 Subject: [PATCH] Update --- sh.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sh.md b/sh.md index c723dd685..13fca9aa0 100644 --- a/sh.md +++ b/sh.md @@ -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