Getting a web page and parsing it

J

Jal123

Guest
Hi,
I have been trying but i am stuck up with an issue of how to get a web page and grep it for a pattern.for example how do i get a google homepage in text format ,save it in a file and grep for a pattern google.Please someone help on this as i am nearing my project final date.Any help would be very useful.
 


Install lynx, if you don't already have it.
(On Fedora use "yum install lynx" as root.)

Then try this:
Code:
lynx -dump http://google.com/
 

Members online


Top