wttr=$(curl -s "https://wttr.in/Louisville?m&format=%t") tooltip=$(curl -s "https://wttr.in/Louisville?m&format=%C:RealFeel+%f:UV+Index+%u:Precip.+%p:Wind+%w"|sed 's/:/\\n/g') echo -E "{\"text\":\"$wttr\",\"tooltip\":\"$tooltip\"}"