BSD Ports

textproc/html2text 2.2.3,1 DragonFly

Converts HTML documents into plain text

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2+
Categories
textproc
Package size
81.6 KiB, 220.5 KiB installed

Description

html2text is a command line utility, written in C++, that converts HTML documents (HTML 3.2) into plain text (ISO 8859-1).

Each HTML document is loaded from a location indicated by an URI or read from standard input, and formatted into a stream of plain text characters that is written to standard output or into an output-file. The input-URI may specify a remote site, from that the documents are loaded with the Hypertext Transfer Protocol (HTTP). The program is even able to preserve the original positions of table fields and accepts also syntactically incorrect input, attempting to interpret it "reasonably". The rendering is largely customisable through an RC file.

In the other systems

SystemPortVersion
DragonFlytextproc/html2text2.2.3,1
FreeBSDtextproc/html2text2.2.3,1
OpenBSDconverters/html2text2.4.0pl20260113
NetBSDtextproc/html2text1.3.2a
MidnightBSDtextproc/html2text2.2.3,1

Install

Binary package:

pkg install html2text

From DPorts:

cd /usr/dports/textproc/html2text && make install clean

Dependencies

Required by 1