wttr.in
wttr.in copied to clipboard
Some weather conditions have a space at the end and others do not
I am running a queyr with the %C
format specifier, but some weather conditions have a space character at the end and others do not.
For example:
$ curl wttr.in/New+York?format="%C"
Patchy rain nearby$
There is no space, hence why the shell prompt ($) appears immediately after the result, but compare this to:
$ curl wttr.in/Paris?format="%C"
Clear $
Where there is a space at the end.
These examples are just made using the current results for these locations, so you may have to play around with different locations to see examples when you try it for yourself.
Please standardize the appearance, so they all have a space at the end or don't