From 4b3b44a3f3aa8ce1f319c3c153ce90f84d9f452b Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 19 Sep 2019 21:10:41 +0300 Subject: [PATCH] docs: update --- README.md | 2 +- manuscript/chapter5.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8f98641..75691e1 100644 --- a/README.md +++ b/README.md @@ -1105,7 +1105,7 @@ basename() { tmp=${1%${1##*[!/]}} tmp=${tmp##*/} - tmp=${tmp%"${2/$1}"} + tmp=${tmp%"${2/$tmp}"} printf '%s\n' "${tmp:-/}" } diff --git a/manuscript/chapter5.txt b/manuscript/chapter5.txt index bbf7514..717369d 100644 --- a/manuscript/chapter5.txt +++ b/manuscript/chapter5.txt @@ -44,7 +44,7 @@ basename() { tmp=${1%${1##*[!/]}} tmp=${tmp##*/} - tmp=${tmp%"${2/$1}"} + tmp=${tmp%"${2/$tmp}"} printf '%s\n' "${tmp:-/}" }