misc: cleanup

This commit is contained in:
Dylan Araps
2018-06-19 17:57:09 +10:00
parent c24d0d1c5c
commit 80b1030654

View File

@@ -365,7 +365,7 @@ HELLO
trim_quotes() { trim_quotes() {
# Usage: trim_quotes "string" # Usage: trim_quotes "string"
: "${1//\'}" : "${1//\'}"
printf "%s\\n" "${_//\"}" printf '%s\n' "${_//\"}"
} }
``` ```