htmlprune

Langue: en

Version: 31 Mar 2000 (fedora - 04/07/09)

Section: 1 (Commandes utilisateur)

NAME

htmlprune - remove marked elements from an HTML file

SYNOPSIS

htmlprune [ -c class ] [ -x ] [ file ]

DESCRIPTION

htmlprune removes specially marked elements (with their content and children) from an HTML file. By default it removes elements with a class attribute of "exclude". The class attribute is parsed as a whitespace-separated list of words and if one of those words is "exclude", the element is not copied to the output.

The option -c can be used to specify a different word than "exclude". The option -x forces output to be in XML-style, i.e., without short attributes and with a slash (/) to mark empty elements.

[ToDo]