diff --git a/modules/convert/convert.sh b/modules/convert/convert.sh index 7689d4d..0c15d14 100755 --- a/modules/convert/convert.sh +++ b/modules/convert/convert.sh @@ -8,5 +8,5 @@ shift if [ -z "$units" ]; then msg "$chan" "I do not have access to units." else -msg "$chan" "$($units -v ${*#* } | head -n1)" +msg "$chan" "$($units -v ${*#* } | head -n1 | tr -d '[:space:]')" fi