Can any web browser write to stdout?

I plan to write a Hashify command line client, and I would like to confirm that just writing to stdout not an option before becoming creative.

(Ideally, the command will behave like a TextMate mate , in which case hashify.me will open in the browser and wait for input to be entered.)

+7
source share
2 answers

WGet (a simple tool to extract http) supports file redirection to STDOUT with the -qO - option -qO - called like wget -qO - http://url/ .

Lynx (full CLI browser) supports dumping to STDOUT using the -dump or -crawl .

+10
source

You can take a look at the Google Native client , available in the dev channel version of Google Chrome,

When launched using its own client flags, it allows printing on the terminal, as indicated here . See the documentation here and here for more details.

Getting windows work can be painful, but this (presumably) works fine on linux. I'm trying to do it right now.

+4
source

All Articles