Hi,
i need temperature hourly from a web page
Im using wget to get the web page. I would like to save the page downloaded in a file called page. I check the file everytime i run the wget function but its not saving but instead creates a wx.php file....Each time i run it...a new wx.php file is created...but ITS NOT SAVING the page to page.....WHY
here's my code:
page=$(wget Newcastle Weather Forecast)
temperature=$(cat page | grep -o"Temperature:[[:space]]*[0-9][0-9]*" | grep -E -o "[0-9]+")
please help!