Skip to content

Commit

Permalink
Merge pull request #3721 from zowe/v2.x/bugfix/trim
Browse files Browse the repository at this point in the history
bin/libs/string.sh: trim update
  • Loading branch information
MarkAckert authored Feb 6, 2024
2 parents 24e90c6 + 4c4df13 commit 8bbb8bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/libs/string.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ trim() {
input=${1}
fi

echo "${input}" | xargs
echo "${input}" | sed -e 's/^[[:space:]]*//;s/[[:space:]]*$//'
}

###############################
Expand Down

0 comments on commit 8bbb8bc

Please sign in to comment.