diff --git a/manuscript/chapter5.txt b/manuscript/chapter5.txt index fce45ed..41db729 100644 --- a/manuscript/chapter5.txt +++ b/manuscript/chapter5.txt @@ -39,7 +39,7 @@ Alternative to the `basename` command. ```sh basename() { - # Usage: basename "path" + # Usage: basename "path" ["suffix"] dir=${1%${1##*[!/]}} dir=${dir##*/} dir=${dir%"$2"}