.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.42) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "HTMLCLEAN 1p" .TH HTMLCLEAN 1p "2022-10-15" "perl v5.34.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" htmlclean \- a small script to clean up existing HTML .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBhtmlclean [\-v] [\-V] file1 [file2 file3 ...]\fR .SH "DESCRIPTION" .IX Header "DESCRIPTION" This program provides a command-line interface to the HTML::Clean module, which can help you to provide more compatible, smaller \s-1HTML\s0 files at the expense of reducing the human readability of the \s-1HTML\s0 code. In some cases you may be able to reduce the size of your \s-1HTML\s0 by up to 50%! .PP The HTML::Clean library provides a number of features that improve your \&\s-1HTML\s0 for browsing and serving: .PP \&\fBhtmlclean\fR passes each file given on the command line to the library and writes out the new \s-1HTML\s0 according to the specified options. The default is to create a backup file and replace the file with cleaned \s-1HTML.\s0 .IP "Removing whitespace, Comments and other useless or redundant constructs" 6 .IX Item "Removing whitespace, Comments and other useless or redundant constructs" .PD 0 .IP "Insuring that font tags work across multiple operating systems" 6 .IX Item "Insuring that font tags work across multiple operating systems" .PD .PP For full details see the documentations for HTML::Clean itself. .SH "OPTIONS" .IX Header "OPTIONS" .ie n .IP """\-V""" 4 .el .IP "\f(CW\-V\fR" 4 .IX Item "-V" Print the version of the program. .ie n .IP """\-v""" 4 .el .IP "\f(CW\-v\fR" 4 .IX Item "-v" Verbose mode. Print out the original and final file sizes, plus the compression percent. For example: .Sp .Vb 3 \& 5261 4065 22% /tmp/development\-es.html \& 5258 4061 22% /tmp/development\-fr.html \& 4651 3683 20% /tmp/development.html .Ve .SH "SEE ALSO" .IX Header "SEE ALSO" For the library, see HTML::Clean .SH "AUTHOR" .IX Header "AUTHOR" \&\f(CW\*(C`htmlclean\*(C'\fR is written by Paul Lindner, .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (c> 1998 by \s-1ITU\s0 under the same terms as Perl.