Only one space between the unicode and the temperature
This commit is contained in:
parent
4020ae1d86
commit
e7a4bcf09f
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ display_weather()
|
||||||
temperature=$(echo $weather_information | rev | cut -d ' ' -f 1 | rev) # +31°C, -3°F, etc
|
temperature=$(echo $weather_information | rev | cut -d ' ' -f 1 | rev) # +31°C, -3°F, etc
|
||||||
unicode=$(forecast_unicode $weather_condition)
|
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()
|
forecast_unicode()
|
||||||
|
|
Loading…
Reference in a new issue