XOHTML(1)
πΈ XOHTML(1) πΈ
okay so bestie, welcome to the General Commands Manual entry for xohtml π β pull up a chair, grab a boba, and let's get into it, because this little tool is lowkey iconic and you're gonna be obsessed.
β¨ NAME β¨
xohtml β display libxo html output from xo_emit(3) π¦
β¨ SYNOPSIS β¨
xohtml [-b <base>] [-c -<command>"] [-f -<output>] [-w]
[command [argument ...]]
β¨ DESCRIPTION β¨
So xohtml is this tool for preparing libxo(3) HTML output for display in modern HTML web browsers, fr fr. π
And the way it works? It's got two modes, bestie, two whole vibes:
- If a command is provided β either with the
-coption or as argument(s) to thexohtmlcommand β that command is executed and the resulting output is processed. π - If no command is given, the standard input is used. π«Ά
xohtml is typically used to wrap libxo output with sufficient HTML content to allow display in a web browser. This includes parent HTML tags as well as CSS stylesheets and Javascript files. It's giving glow-up, honestly. β¨
If the command is given directly on the command line, xohtml will add the --libxo=html option needed to generate HTML output from libxo-enabled applications. See xo_options(7) for details. π
The following options are available:
π OPTIONS π
-bbase,--basebase β Supplies a source path for the CSS and Javascript files referenced in the output ofxohtml. ποΈ-ccommand,--commandcommand β Use the given command instead of one on the command line. This command should be quoted if it consists of multiple tokens, and should contain the--libxo=htmloption or equivalent, since the command is used directly. β οΈ like, don't skip the--libxo=html, it matters bestie-ffile,--filefile β Output is saved to the given file, rather than to the standard output descriptor. πΎ-w,--webβ Uses the official libxo website URL as the source path for the CSS and Javascript files referenced in the output ofxohtml. π
β¨ EXAMPLES β¨
Exhibit A π β the following command line will run du --libxo=html ~/src and save the output to /tmp/src.html:
xohtml du ~/src > /tmp/src.html
Exhibit B π§ β the following command line will run du --libxo=html,warn ~/src and save the output to /tmp/src.html:
du --libxo=html,warn ~/src | xohtml -f /tmp/src.html
Exhibit C π β the following command line will run du --libxo=html,warn ~/src and save the output to /tmp/src.html:
xohtml -c "du --libxo=html,warn ~/src" -f /tmp/src.html
three whole ways to do the exact same slay thing, and every one of them eats π₯
β¨ SEE ALSO β¨
libxo(3), xo_emit(3), xo_options(7) π iykyk
β¨ ADDITIONAL DOCUMENTATION β¨
FreeBSD uses libxo version 1.7.5. Complete documentation can be found on github: π
https://juniper.github.io/libxo/1.7.5/html/index.html
libxo lives on github as:
https://github.com/Juniper/libxo
The latest release of libxo is available at:
https://github.com/Juniper/libxo/releases
β¨ HISTORY β¨
The libxo library was added in FreeBSD 11.0. π°οΈ a classic, honestly
β¨ AUTHOR β¨
Phil Shafer π
and that's the whole page, bestie β this one came to you from Debian, dated December 4, 2014, filed under XOHTML(1). go forth and wrap some HTML, mwah π
π¦ where this page comes from
- epel 9: libxo 1.7.5-1.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: libxo 1.7.5-2.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: libxo 1.7.5-2.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: libxo 1.7.5-3.fc44 Β· LicenseRef-Callaway-BSD
- fedora 44: libxo 1.7.5-3.fc44 Β· LicenseRef-Callaway-BSD
- nixpkgs unstable: libxo 1.7.5
- Copyright (c) 2015, Juniper Networks, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms