Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AWK and Web Page Retrieval

Status
Not open for further replies.

ssieloff

MIS
Mar 5, 1999
1
US
Is ther any flavor of AWK that allows for the dynamic retrieval of web pages from within the program? I would like to retrieve URL's by reading a file within AWK, getting the HTML page from the internet, and parsing the tags/text into arrays for inclusion in a output file.

Any ideas?
 
Yep.
Look at gawk 3.0.98 and newer for stable awk with socket based(!!)extensions that will allow you to use awk as a network server and client. It isn't too difficult.
ftp.freefriends.org , I believe the directory is
"arnold"(for A.robbins).
As far as the rest of the code goes there are good
info docs for basic functions and implementations with
TCP/IP and some good url grabbing examples in particular
that should help you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top