aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordylan <dylan.araps@gmail.com>2021-07-22 06:56:48 +0300
committerGitHub <noreply@github.com>2021-07-22 06:56:48 +0300
commit26bc7e8d6cfb8716e9ccb97f31c2da80468c5737 (patch)
tree8b1e44ce7ab93ea83fd854ca36e1deff6f67dde6
parent98a262615c2139f6260c435a7f16505d05fae7aa (diff)
parentf312940937ec250b6fe09dc80191bccdbefe9ef1 (diff)
downloadpure-sh-bible-26bc7e8d6cfb8716e9ccb97f31c2da80468c5737.tar.gz
pure-sh-bible-26bc7e8d6cfb8716e9ccb97f31c2da80468c5737.zip
Merge pull request #42 from unah77/masterHEADmaster
Fix comment to match associated code
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index b7b9461..8032be5 100644
--- a/README.md
+++ b/README.md
@@ -144,7 +144,7 @@ trim_string() {
# Remove all trailing white-space.
# '${trim##*[![:space:]]}': Strip everything but trailing white-space.
- # '${trim#${XXX}}': Remove the white-space from the end of the string.
+ # '${trim%${XXX}}': Remove the white-space from the end of the string.
trim=${trim%${trim##*[![:space:]]}}
printf '%s\n' "$trim"