1XOHTML(1) BSD General Commands Manual XOHTML(1)
2
4 xohtml — display libxo html output xo_emit(3)
5
7 xohtml [-b <base>] [-c -<command>"] [-f -<output>] [-w]
8 [command [argument ...]]
9
11 xohtml is a tool for preparing libxo(3) HTML output for display in modern
12 HTML web browsers. xohtml can operate in two modes. If command is pro‐
13 vided either with the -c option or as argument(s) to the xohtml command,
14 that command is executed and the resulting output is processed. If no
15 command is given, the standard input is used.
16
17 xohtml is typically used to wrap libxo output with sufficient HTML con‐
18 tent to allow display in a web browser. This includes parent HTML tags
19 as well as CSS stylesheets and Javascript files.
20
21 If the command is given directly on the command line, xohtml will add the
22 "--libxo=html" option needed to generate HTML output from libxo -enabled
23 applications. See xo_options(7) for details.
24
25 The following options are available:
26
27 -b base | --base base
28 Supplies a source path for the CSS and Javascript files refer‐
29 enced in the output of xohtml.
30
31 -c command | --command command
32 Use the given command instead of one on the command line. This
33 command should be quoted if it consists of multiple tokens, and
34 should contain the "--libxo=html" option or equivalent, since the
35 command is used directly.
36
37 -f file | --file file
38 Output is saved to the given file, rather than to the standard
39 output descriptor.
40
41 -w | --web
42 Uses the official libxo website URL as the source path for the
43 CSS and Javascript files referenced in the output of xohtml.
44
46 The following command line will run "du --libxo=html ~/src" and save the
47 output to /tmp/src.html:
48
49 xohtml du ~/src > /tmp/src.html
50
51 The following command line will run "du --libxo=html,warn ~/src" and save
52 the output to /tmp/src.html:
53
54 du --libxo=html,warn ~/src | xohtml -f /tmp/src.html
55
56 The following command line will run "du --libxo=html,warn ~/src" and save
57 the output to /tmp/src.html:
58
59 xohtml -c "du --libxo=html,warn ~/src" -f /tmp/src.html
60
62 libxo(3), xo_emit(3), xo_options(7)
63
65 FreeBSD uses libxo version 1.6.0. Complete documentation can be found on
66 github:
67
68 https://juniper.github.io/libxo/1.6.0/html/index.html
69
70 libxo lives on github as:
71
72 https://github.com/Juniper/libxo
73
74 The latest release of libxo is available at:
75
76 https://github.com/Juniper/libxo/releases
77
79 The libxo library was added in FreeBSD 11.0.
80
82 Phil Shafer
83
84BSD December 4, 2014 BSD