wget -O /tmp/Live "http://mobile.gazzetta.it/calcio/TempoReale.jsp" &
#imposta un timeout di 7 secondi per lo scaricamento
sleep 7
kill -9 `pidof wget`
#fine timeout

sed -n '/<a href="match.jsp?idpartita=*/,/</p' /tmp/Live>/tmp/output2.txt
sed -i 's/<[^>]*>//g' /tmp/output2.txt
sed -i 's/	//g' /tmp/output2.txt
sed -i '/^$/d' /tmp/output2.txt
#cat /tmp/output.txt |tr "[:lower:]" "[:upper:]" > /tmp/output2.txt
cat /tmp/output2.txt
