unhtml1
Strip the html formatting from a document or the standard input stream and display it to the standard output
Usage
unhtml {-version | [filename]}
Overview
Parses text read from the standard input, or a file if a file name is supplied, and removes any HTML formatting it finds. Prints the resulting cleansed text to the standard output for easy redirection. The version included with this man page has been improved to handle comments and scripts.
Options
-
-version -
Version.
unhtmlwill display its version and exit.
Examples
This example simply scans a file called "index.html" and prints the file to the standard output with the HTML formatting removed. The standard output is redirected to a file called "index.txt" which, after running, will contain the plain text of the .html file.
example% unhtml index.html > index.txt
Development
This document is Copyright (C) 1998 by Kevin Swan.
Releases
Unchanged in 14 releases since Debian 2.0 (Hamm).