From 22f1f8fe2e940056d1cbda7267c2880e7889cb00 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Sun, 3 Nov 2019 22:42:52 +0100 Subject: Fix bash --- bash.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3