From 3590d9b03af8cbd47040db61cddf6d9216293d44 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 19 Sep 2019 20:13:44 +0300 Subject: [PATCH] docs: update --- manuscript/chapter5.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"}