HXUNPIPE(1)
π HXUNPIPE β bestie, we're un-piping the pipes π
okay so this is a page from the HTML-XML-utils collection, and it's all about hxunpipe, a lil tool whose whole job is: convert output of hxpipe back to XML format. yes, it's the un-do button. the remix. the β¨reverseβ¨. π¦
πΈ SYNOPSIS πΈ
hxunpipe [ -b ] [ file-or-URL ]
π DESCRIPTION π
so hxunpipe takes whatever hxpipe(1) spat out (or onsgmls(1), that works too) and turns it right back into XML/SGML mark-up. it's giving round-trip. it's giving "i can fix her." π₯
β¨ OPTIONS β¨
the following options are supported:
-bβ ngl this one is important so listen up. normally,hxunpipeassumes the input came fromhxpipe, meaning the input may contain character entities but will never contain SGML/XML delimiters (<>&"') that need escaping. BUT π¨ when the input came from(o)nsgmls, the entities will have already been expanded, so the input may contain SGML/XML delimiters. the-boption makeshxunpipego looking for those delimiters and escape them, like so:<becomes<,>becomes>,&becomes&,"becomes"and'becomes'. periodt. π
π OPERANDS π
the following operand is supported:
file-or-URLβ the name or URL of an HTML file. if you don't pass one? standard input is read instead. she's flexible like that. π«Ά
π EXIT STATUS π
the following exit values are returned:
0β successful completion. slay. β¨> 0β an error occurred in the input. π
π ENVIRONMENT π
to use a proxy to retrieve remote files, set the environment variables http_proxy and ftp_proxy. E.g., http_proxy="http://localhost:8080/" β set it and forget it, bestie π
π BUGS π
- not all syntax errors in the input are recognized. π so like, don't come for her if something slips through.
hxunpipecan currently only retrieve remote files over HTTP. it doesn't handle password-protected files, nor files whose content depends on HTTP "cookies." no cookies for you ππ«
π§ SEE ALSO π§
and that's the whole page!! π this iconic lil manual is part of HTML-XML-utils, version 7.x, dated 10 Jul 2011 β like, ancient but still serving looks. go forth and un-pipe, bestie ππ¦β
π¦ where this page comes from
- alpine 3.24: html-xml-utils-doc 8.7-r0 Β· W3C
- arch rolling: html-xml-utils 8.8-1 Β· W3C
- debian bookworm: html-xml-utils 7.7-1.1 Β· W3C
- debian trixie: html-xml-utils 7.7-1.1+b1 Β· W3C
- fedora 43: html-xml-utils 8.6-2.fc41 Β· W3C AND BSD-3-Clause
- fedora 44: html-xml-utils 8.7-1.fc44 Β· W3C AND BSD-3-Clause
- nixos 26.05: html-xml-utils 8.7
- nixpkgs unstable: html-xml-utils 8.7
- opensuse-leap 16.0: html-xml-utils 8.6-bp160.1.12 Β· W3C
- opensuse-leap 16.0: html-xml-utils 8.6-bp160.1.12 Β· W3C
- opensuse-leap 16.0: html-xml-utils 8.6-bp160.1.12 Β· W3C
- opensuse-leap 16.0: html-xml-utils 8.6-bp160.1.12 Β· W3C
- ubuntu jammy: html-xml-utils 7.7-1.1 Β· W3C
- ubuntu noble: html-xml-utils 7.7-1.1build2 Β· W3C
- ubuntu questing: html-xml-utils 7.7-1.1build2
- ubuntu resolute: html-xml-utils 7.7-1.3 Β· W3C
- ubuntu stonking: html-xml-utils 7.7-1.3 Β· W3C
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms