How can I extract the ip address and the country and put them individual in a string without any quotes or any other characters which are present in the text by using the next command:
info_ip=`wget --tries=1 --timeout=10 -qO- http://ipinfo.io/?callback=callback; echo`
$ip = ?
$country = ?