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 may INCLUDE, 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, if htp can'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, the PRECIOUS option 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 either HTML, CURLY or SQUARE. each setting determines how htp markups should be surrounded in the text. HTML indicates using arrow brackets ('<' and '>') just like standard HTML tags. CURLY means tags should be surrounded by curly braces ('{' and '}'). SQUARE uses square brackets ('[' and ']') to surround htp tags. note that this only applies to the special htp tags and not to the standard HTML tags, including IMG (which htp can process). the default setting is HTML. 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 πŸ’–πŸŽ€πŸ¦‹