#!/bin/sh location="Saint-Petersburg" v=1 [ -n "$1" ] && v=$1 [ -n "$2" ] && location=$2 curl "v$v.wttr.in/$location"