Làm đại chơi thử. Thời tiết biến mất :)
2014-06-30 0:58 GMT+07:00 Quang Nguyen xquan...@gmail.com:
Đừng copy bác ơi
curl -s
http://rss.accuweather.com/rss/liveweather_rss.asp\?metric\=${METRIC}\locCode\=$1
Đừng copy bác ơi
curl -s
http://rss.accuweather.com/rss/liveweather_rss.asp\?metric\=${METRIC}\locCode\=$1
http://rss.accuweather.com/rss/liveweather_rss.asp/?metric\=${METRIC}\locCode\=$1
|
perl -ne ‘if (/Currently/) {chomp;/\title\Currently: (.*)?\\/title\/;
print “$1″; }’
Bác để ý dấu các chỗ