m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-11-03 22:42:52 +0100
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-11-03 22:42:52 +0100
commit22f1f8fe2e940056d1cbda7267c2880e7889cb00 (patch)
treeb349cc8aa58d88fd35aa373895f05dc00693a25c
parent2b7a2ba55ea5ae832a79a5902365020b4a36467d (diff)
Fix bash
-rw-r--r--bash.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash.md b/bash.md
index c8b2004..26c5b5e 100644
--- a/bash.md
+++ b/bash.md
@@ -10,7 +10,7 @@ Remove shortest from end
Remove longest from start
- ${VAR#substr}
+ ${VAR##substr}
# e.g.
${FILEPATH##*/} # get only file name portion