Skip to content

Commit

Permalink
libxo.7: fall cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
concussious committed Sep 6, 2024
1 parent fd5db1b commit b9cf706
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions libxo/libxo.7
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@
.\" # Phil Shafer, July 2014
.\"
.Dd February 23, 2023
.Dt LIBXO 3
.Dt LIBXO 7
.Os
.Sh NAME
.Nm libxo
.Nd description of libxo usage
.Sh DESCRIPTION
.Pp
.Nm libxo
is a software component that allows other software to generate a
variety of output styles, including
Expand Down Expand Up @@ -44,10 +43,10 @@ developed independently, such as the "CSV" encoder, which creates
Comma-Separated Values, suitable for spreadsheets and other common
uses.
See
.Xr xo_csv
.Xr xo_csv 7 .
.Pp
Command-line options are used to control
.NM libxo 's
.Nm libxo Ap s
operation and output style and features.
These options begin with
.Em --libxo
Expand Down Expand Up @@ -78,7 +77,7 @@ For example, the brief "X" option and the word "xml" both trigger XML
output, while the "P" and "pretty" options will "pretty-print" the
output, using indentation and multiple lines.
Any of the following will execute
.Xr df
.Xr df 1
with both the "xml" and "pretty" options:
.Bl -bullet
.It
Expand All @@ -93,7 +92,6 @@ df \-\-libxo=xml \-\-libxo pretty
df \-\-libxo:XP
.El
.Sh EXAMPLES
.Pp
The following example shows the same content generated using multiple
style options: text, XML, JSON, and HTML:
.Bd -literal
Expand Down Expand Up @@ -163,10 +161,10 @@ applications with a suitable CSS file, such as
/usr/share/libxo/xohtml.css which is used by
.Xr xohtml 1 .
.Sh SEE ALSO
.Xr xo_options 7 ,
.Xr libxo 3 ,
.Xr xolint 1 ,
.Xr xo_emit 3
.Xr libxo 3 ,
.Xr xo_emit 3 ,
.Xr xo_options 7
.Sh HISTORY
The
.Nm libxo
Expand All @@ -176,4 +174,3 @@ library first appeared in
.Nm libxo
was written by
.An Phil Shafer Aq Mt phil@freebsd.org .

0 comments on commit b9cf706

Please sign in to comment.