docs: update
This commit is contained in:
@@ -42,7 +42,7 @@ basename() {
|
||||
# Usage: basename "path" ["suffix"]
|
||||
local tmp
|
||||
|
||||
tmp=${1%${1##*[!/]}}
|
||||
tmp=${1%"${1##*[!/]}"}
|
||||
tmp=${tmp##*/}
|
||||
tmp=${tmp%"${2/"$tmp"}"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user