Marc Heiler wrote: > I have a script, foobar.cgi > > I can load it into my browser, as in > http://localhost/foobar.cgi > > [...] > Is there an easy way to grab that generated html code and > display it (as a long string) on a console? > [...] > a "ruby only" solution, which I would prefer require 'open-uri' print open('http://localhost/foobar.cgi').read > I thought lynx -dump might help but it doesn't, What does "it doesn't" mean? If it means "but I don't see the HTML", then that because you should've used -source, not -dump. -- Posted via http://www.ruby-forum.com/.