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
Related Q & A:
- What is the best language for HTML parsing and web scraping?Best solution by Quora
- What is the best enterprise planning tool?Best solution by Quora
- What is the best Cruise line for an Alaska Cruise-tour vacation?Best solution by Yahoo! Answers
- What is the best cruise line?Best solution by Yahoo! Answers
- What is the best Craigslist search tool, either free or paid?Best solution by answers.yahoo.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.