How to convert this curl command in c#?

What is the best command line tool to convert html to text?

  • What would be the best command line utility to convert html  to text? I want to curl a query to google, convert the output html to  text and read converted text on my terminal. I am using rhel6.

  • Answer:

    Use lynx (http://lynx.isc.org/) with the -dump option. Saves the curl too. e.g. lynx -dump http://www.google.com/search?q=hello%2Cworld > query.txt Something like yum install lynx should work to get lynx on RHEL6.

Mandar Gokhale at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.