Fix comment

This commit is contained in:
Tommy 2021-07-21 15:55:15 -07:00
parent 98a262615c
commit f312940937
1 changed files with 1 additions and 1 deletions

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"