The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
How do I extract text only from html file without HTML tag
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
How do I extract text only from html file without HTML tag
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
09-20-2005
LanceBoyles
Registered User
Join Date: Sep 2005
Posts: 8
Use Lynx with the --dump option, like this:
lynx --dump myfile.html > myfile.txt
OR
lynx --dump
http://some.where.com/whatever.html
> myfile.txt
You can write a shell script that will do this for many files without you having to touch it.
LanceBoyles
View Public Profile
Find all posts by LanceBoyles
Find LanceBoyles's past nominations received
Find LanceBoyles's present nominations given