From e7a4bcf09f4ad56ad541aa2f7c1f5f7fe83acfe4 Mon Sep 17 00:00:00 2001 From: yzenati <9922120+yzenati@users.noreply.github.com> Date: Fri, 16 Oct 2020 13:33:21 +0200 Subject: [PATCH] Only one space between the unicode and the temperature --- scripts/weather.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/weather.sh b/scripts/weather.sh index 1c757b4..7a5fd3c 100755 --- a/scripts/weather.sh +++ b/scripts/weather.sh @@ -35,7 +35,7 @@ display_weather() temperature=$(echo $weather_information | rev | cut -d ' ' -f 1 | rev) # +31°C, -3°F, etc unicode=$(forecast_unicode $weather_condition) - echo "$unicode ${temperature/+/}" # remove the plus sign to the temperature + echo "$unicode${temperature/+/}" # remove the plus sign to the temperature } forecast_unicode()