docs: update
This commit is contained in:
parent
f1301357da
commit
4202b0dae9
|
@ -1105,7 +1105,7 @@ basename() {
|
|||
|
||||
tmp=${1%${1##*[!/]}}
|
||||
tmp=${tmp##*/}
|
||||
tmp=${tmp%"${2/$tmp}"}
|
||||
tmp=${tmp%"${2/"$tmp"}"}
|
||||
|
||||
printf '%s\n' "${tmp:-/}"
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ basename() {
|
|||
|
||||
tmp=${1%${1##*[!/]}}
|
||||
tmp=${tmp##*/}
|
||||
tmp=${tmp%"${2/$tmp}"}
|
||||
tmp=${tmp%"${2/"$tmp"}"}
|
||||
|
||||
printf '%s\n' "${tmp:-/}"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue