LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-31-2011, 12:06 AM   #1
Synergy5
LQ Newbie
 
Registered: Oct 2011
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 11-01-2011, 09:13 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Quote:
Originally Posted by Synergy5 View Post
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?

Last edited by onebuck; 11-01-2011 at 09:14 AM. Reason: typo
 
Old 11-01-2011, 10:21 AM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037


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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Extracting auditing info using awk system and ausearch BlackCrowe Programming 6 09-02-2010 01:51 AM
Extracting thread information from core dump using gdb/anytool Linux_Kid_ Linux - Software 1 07-23-2010 03:14 AM
core dump source info suhas7860 Linux - General 1 03-28-2007 07:08 AM
core dump source info suhas7860 Linux - Kernel 1 03-27-2007 06:13 AM
looking for a way to dump line number info jbreazeale Linux - Software 2 09-22-2004 12:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration