HTP(1)
β¨ NAME β¨
htp β the HTML preprocessor, bestie π
πΈ SYNOPSIS πΈ
htp [options] <input file> <output file>
htp [options] @<response file>
htp [options] @
π DESCRIPTION π
okay so first things first: this manual page is a lil brief rundown of the htp command, and it was written for the Debian distribution because the original program straight up does not have a manual page. instead it has documentation in HTML format, which lives at /usr/share/doc/htp. so like, if you want the full tea, go there π«Ά
htp is an HTML pre-processor. it's designed to be a flexible authoring tool that can easily be integrated into the design process. the way it works is it processes special HTML files and produces regular HTML files as output, ready to be served up. and why are the original HTML files "special", you ask? because they (possibly) contain certain markup tags that only htp can recognize. iykyk π«
and to handle larger sets of files, htp also accepts a response file, which lists input/output filename pairs and additional response files. for more info on response files, see the HTML documentation. periodt.
π OPTIONS π
here's a lil summary of the options, bestie. for a complete description, go read the HTML documentation. also important: these options can be used on the command-line by preceding their name with a - or / character. slay β¨
H,?β shows basic usage information. a lil help moment πIMGXYβ width & height will be added to all image tags. this is the default setting, so it's already giving what it needs to give πNOIMGXYβ width & height will not be added to image tags (but they won't be removed if they're already there, okay? we're not deleting anything, just not adding).QUIETβ the pre-processor only displays warnings and error messages. minimal chatter, main character silence π€«VERBOSEβ the pre-processor displays all informational, warnings, and error messages. this is the default setting, so yeah, it's a yapper by default πDEPENDβ checks the target file's dependencies before processing. if the input file, or any of the files it mayINCLUDE, have changed, it will continue and build the output file. otherwise, a simple informational message gets printed and no action occurs. this is the default setting πNODEPENDβ dependency checking will not occur during processing. no vibes checked, just go π₯PRECIOUSβ normally, ifhtpcan't finish processing a file, it will delete the incomplete output file so you don't accidentally use it. but if that's not what you want, thePRECIOUSoption turns off this behavior. protect the half-finished baby at all costs π₯ΊCONDENSEβ all HTML will be condensed, which is merely stripping it of all linefeeds. HTML doesn't require any carriage returns or linefeeds, so the format of the output won't be changed. however, file sizes will be somewhat smaller, and should load a little faster, especially over a slow link. glow-up via compression β¨NOCONDENSEβ this disables condensing the output. this is the default setting πΈDELIMβ this can be set to eitherHTML,CURLYorSQUARE. each setting determines howhtpmarkups should be surrounded in the text.HTMLindicates using arrow brackets ('<'and'>') just like standard HTML tags.CURLYmeans tags should be surrounded by curly braces ('{'and'}').SQUAREuses square brackets ('['and']') to surroundhtptags. note that this only applies to the specialhtptags and not to the standard HTML tags, includingIMG(whichhtpcan process). the default setting isHTML. choose your fighter π
π¦ SEE ALSO π¦
/usr/share/doc/htpβ HTML Documentation π
π AUTHOR π
this manual page was written by Matthew MacLeod <matthew.macleod@btinternet.com>, for the Debian GNU/Linux system (but may be used by others). iconic behavior, fr fr π
htp is copyright 1995-1996 Jim Nelson <jnelson@crl.com> π
and that's the whole page, bestie!! this version is serving General Commands Manual energy, dated June 14, 2002, for HTP(1) β no cap, that's the sign-off, go forth and preprocess πππ¦
π¦ where this page comes from
- debian bookworm: htp 1.19-8 Β· Clarified-Artistic
- debian trixie: htp 1.19-8 Β· Clarified-Artistic
- ubuntu jammy: htp 1.19-8 Β· Clarified-Artistic
- ubuntu noble: htp 1.19-8 Β· Clarified-Artistic
- ubuntu resolute: htp 1.19-8build1 Β· Clarified-Artistic
- ubuntu stonking: htp 1.19-8build1 Β· Clarified-Artistic
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms