LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Extracting Useful Info from a links -dump (https://www.linuxquestions.org/questions/linux-general-1/extracting-useful-info-from-a-links-dump-911001/)

Synergy5 10-31-2011 12:06 AM

Extracting Useful Info from a links -dump
 
I'm having troubles getting the data I want from a links -dump. The site is http://forecast.weather.gov/MapClick...2=-80.0603&e=1

I'm trying to extract the "Current Local Weather" paragraph. I've tried different sed and awk combinations without success. Any help would be appreciated.

onebuck 11-01-2011 09:13 AM

Hi,

Quote:

Originally Posted by Synergy5 (Post 4512231)
I'm having troubles getting the data I want from a links -dump. The site is http://forecast.weather.gov/MapClick...2=-80.0603&e=1

I'm trying to extract the "Current Local Weather" paragraph. I've tried different sed and awk combinations without success. Any help would be appreciated.

Why not try the Text Only Forecast for that page?

David the H. 11-01-2011 10:21 AM

:twocents:

Just saying vaguely that "it isn't working" isn't a very productive way to ask for help.

You should at the very least explain exactly what you are trying to do and the exact output you want, posting real-to-life examples where possible.

Then you should also post some of the commands you've tried already and the results you got. How can we tell you where you're going wrong if we can't see what you did?


onebuck's signature includes a link to "How to Ask Questions the Smart Way". I recommend checking it out.


All times are GMT -5. The time now is 03:57 PM.