From faed0b044cc56e1d81158dde9637249060373cfb Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 14 Aug 2020 17:08:35 -0400 Subject: [PATCH] Improved the convert module a bit. --- modules/convert/convert.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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