Merge pull request #42 from unah77/master

Fix comment to match associated code
This commit is contained in:
dylan 2021-07-22 06:56:48 +03:00 committed by GitHub
commit 26bc7e8d6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"