htex

simple incorrect html parser
git clone git://git.relim.de/htex.git
Log | Files | Refs | README

commit 4a81391e98fb3dec17409c70feb98be905242433
parent 3c8ee4956b0ec61260b10328e5411d4559e301c9
Author: Robin <kroekerrobin@gmail.com>
Date:   Thu, 17 Aug 2023 09:27:09 +0200

Correct documentation

Diffstat:
Mhtex.1 | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/htex.1 b/htex.1 @@ -3,7 +3,7 @@ htex \- \fI\,ex\/\fRtract \fI\,ht\/\fRml .SH SYNOPSIS .B htex -[PATTERN] [-o OUTPUT_TYPE] [-e] [FILE] +[-o \fI\,OUTPUT_TYPE\/\fR] [-e] [-l \fI\,NUM\/\fR] \fI\,PATTERN\/\fR [\fI\,FILE\/\fR] .SH DESCRIPTION .PP Receives text from stdin or a file @@ -21,7 +21,7 @@ means [id=<id_name>] By default the outerHTML will be written to stdout. .TP -\fB\,-o\/\fR, \fB\,--output\/\fR +\fB\,-o\/\fR, \fB\,--output\/\fR \fI\,OUTPUT_TYPE\/\fR Specify what part of an html tag should be printed to stdout. Possible values: \fB\,innerhtml\/\fR, \fB\,innertext\/\fR or \fB\,attr_value\/\fR. @@ -29,6 +29,9 @@ Possible values: \fB\,innerhtml\/\fR, \fB\,innertext\/\fR or \fB\,attr_value\/\f .TP \fB\,-e\/\fR, \fB\,--except\/\fR Prints everything except the found html tags' outerHTML. +.TP +\fB\,-l\/\fR, \fB\,--limit\/\fR \fI\,NUM\/\fR +Find maximum \fI\,NUM\/\fR html tags. .SH EXAMPLES .sp .RS 4