1 2 3 4 5 6 7
#!/bin/sh location="Saint-Petersburg" [ -n "$1" ] && location=$1 curl "wttr.in/$location"