diff options
author | Tommy <tommy@themorfords.com> | 2021-07-21 15:55:15 -0700 |
---|---|---|
committer | Tommy <tommy@themorfords.com> | 2021-07-21 15:55:15 -0700 |
commit | f312940937ec250b6fe09dc80191bccdbefe9ef1 (patch) | |
tree | 8b1e44ce7ab93ea83fd854ca36e1deff6f67dde6 | |
parent | 98a262615c2139f6260c435a7f16505d05fae7aa (diff) | |
download | pure-sh-bible-f312940937ec250b6fe09dc80191bccdbefe9ef1.tar.gz pure-sh-bible-f312940937ec250b6fe09dc80191bccdbefe9ef1.zip |
Fix comment
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |