8
8
.\" # Phil Shafer, July 2014
9
9
.\"
10
10
.Dd February 23, 2023
11
- .Dt LIBXO 3
11
+ .Dt LIBXO 7
12
12
.Os
13
13
.Sh NAME
14
14
.Nm libxo
15
15
.Nd description of libxo usage
16
16
.Sh DESCRIPTION
17
- .Pp
18
17
.Nm libxo
19
18
is a software component that allows other software to generate a
20
19
variety of output styles, including
@@ -44,10 +43,10 @@ developed independently, such as the "CSV" encoder, which creates
44
43
Comma-Separated Values, suitable for spreadsheets and other common
45
44
uses.
46
45
See
47
- .Xr xo_csv
46
+ .Xr xo_csv 7 .
48
47
.Pp
49
48
Command-line options are used to control
50
- .NM libxo ' s
49
+ .Nm libxo Ap s
51
50
operation and output style and features.
52
51
These options begin with
53
52
.Em --libxo
@@ -78,7 +77,7 @@ For example, the brief "X" option and the word "xml" both trigger XML
78
77
output, while the "P" and "pretty" options will "pretty-print" the
79
78
output, using indentation and multiple lines.
80
79
Any of the following will execute
81
- .Xr df
80
+ .Xr df 1
82
81
with both the "xml" and "pretty" options:
83
82
.Bl -bullet
84
83
.It
@@ -93,7 +92,6 @@ df \-\-libxo=xml \-\-libxo pretty
93
92
df \-\- libxo:XP
94
93
.El
95
94
.Sh EXAMPLES
96
- .Pp
97
95
The following example shows the same content generated using multiple
98
96
style options: text, XML, JSON, and HTML:
99
97
.Bd -literal
@@ -163,10 +161,10 @@ applications with a suitable CSS file, such as
163
161
/usr/share/libxo/xohtml.css which is used by
164
162
.Xr xohtml 1 .
165
163
.Sh SEE ALSO
166
- .Xr xo_options 7 ,
167
- .Xr libxo 3 ,
168
164
.Xr xolint 1 ,
169
- .Xr xo_emit 3
165
+ .Xr libxo 3 ,
166
+ .Xr xo_emit 3 ,
167
+ .Xr xo_options 7
170
168
.Sh HISTORY
171
169
The
172
170
.Nm libxo
@@ -176,4 +174,3 @@ library first appeared in
176
174
.Nm libxo
177
175
was written by
178
176
.
An Phil Shafer Aq Mt [email protected] .
179
-
0 commit comments