mirror of
https://github.com/dylanaraps/pure-bash-bible.git
synced 2025-09-08 22:21:26 +02:00
docs: update
This commit is contained in:
@@ -1103,7 +1103,7 @@ basename() {
|
||||
# Usage: basename "path" ["suffix"]
|
||||
local tmp
|
||||
|
||||
tmp=${1%${1##*[!/]}}
|
||||
tmp=${1%"${1##*[!/]}"}
|
||||
tmp=${tmp##*/}
|
||||
tmp=${tmp%"${2/"$tmp"}"}
|
||||
|
||||
|
@@ -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