DocBook 5.1: The Definitive Guide  (Version 1.5.3 for DocBook 5.1)

computeroutput

computeroutput — Data, generally text, displayed or presented by a computer.

Synopsis

computeroutput ::= [-]

Description

A computeroutput identifies lines of text generated by a computer program (messages, results, or other output).

Note that computeroutput is not a verbatim environment, but an inline.

Processing expectations

Formatted inline. It’s often presented in a fixed-width font.

Children

The following elements occur in computeroutput: text, abbrev, acronym, alt, anchor, annotation, biblioref, co, code, command, computeroutput, constant, coref, date, email, emphasis (db._emphasis), envar, filename, firstterm (db._firstterm), footnote, footnoteref, foreignphrase (db._foreignphrase), glossterm (db._glossterm), indexterm (db.indexterm.endofrange), indexterm (db.indexterm.singular), indexterm (db.indexterm.startofrange), inlinemediaobject, link, literal, markup, nonterminal, olink, option, optional, package, parameter, phrase (db._phrase), prompt, property, quote (db._quote), remark, replaceable, subscript, superscript, symbol, systemitem, tag, termdef, token, trademark, uri, userinput, wordasword, xref.

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example computeroutput</title>

<para>The output from the date command,
<computeroutput>Sun  Nov 16, 1997  21:03:29</computeroutput>,
uses fixed-width fields so that it can easily be parsed.
</para>

</article>

The output from the date command, Sun Nov 16, 1997 21:03:29, uses fixed-width fields so that it can easily be parsed.