weather (115B)
1 #!/bin/sh 2 3 str="$(dig dublin/ie.weather +short @dns.toys | head -n1)" 4 eval arr=($str) 5 echo "${arr[1]}" "${arr[3]}"