Print HTML file via shell command

Rodolfo Alcazar rodolfo.alcazar at padep.org.bo
Tue Nov 1 16:36:02 UTC 2005


On Tue, 2005-11-01 at 10:47 -0500, Derek Martin wrote:
> On Tue, Nov 01, 2005 at 05:49:41AM -0800, Leon Pu wrote:
> > Hi all,
> > 
> > is it possbile to print out a HTML file via shell command?

Try this options. curl gets all html code. lynx -dump gets visible text
layout.

[root at rodolfoap bin]# curl URL

[root at rodolfoap bin]# lynx -dump URL

--
Rodolfo Alcazar - rodolfo.alcazar at padep.org.bo
Netzmanager Padep, GTZ
591-70656800, -22417628, LA PAZ, BOLIVIA
http://otbits.blogspot.com
--
After all is said and done, a hell of a lot more is said than done.





More information about the fedora-list mailing list