I am testing some ajax call from the console. I like get rid of the meta-information noise that is html markup and just read the content, hence I like to pipe it into a terminal browser, e.g. lynx.


curl www.google.de | lynx

just opens a new instance of lynx.

I don't want to:

curl www.google.de > someFile.html && lynx someFile.html
curl www.google.de | lynx --stdin

as man lynx does help:

-stdin read the startfile from standard input (UNIX only).

As an alternative you could also ditch lynx and use pub instead, as pointed out here

  • Please do not post updates to your own questions as answers. You can edit your original post and include the new information in the body. – MelBurslan Mar 24 '16 at 14:04
  • 5
    It's OK to Ask and Answer Your Own Questions: "It’s also perfectly fine to ask and answer your own question, as long as you pretend you’re on Jeopardy! -- phrase it in the form of a question." – Mostafa Ahangarha Mar 24 '16 at 14:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.