Only one space between the unicode and the temperature

This commit is contained in:
yzenati 2020-10-16 13:33:21 +02:00
parent 4020ae1d86
commit e7a4bcf09f

View file

@ -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()