aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bzip2.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/bzip2.xml')
-rw-r--r--chapter06/bzip2.xml95
1 files changed, 71 insertions, 24 deletions
diff --git a/chapter06/bzip2.xml b/chapter06/bzip2.xml
index 742f63bff..eb8270053 100644
--- a/chapter06/bzip2.xml
+++ b/chapter06/bzip2.xml
@@ -67,57 +67,104 @@ ln -s bzip2 /bin/bzcat</userinput></screen>
</sect2>
-<sect2 id="contents-bzip2"><title>Contents of Bzip2</title>
+<sect2 id="contents-bzip2" role="content"><title>Contents of Bzip2</title>
-<para><emphasis>Installed programs</emphasis>: bunzip2 (link to bzip2), bzcat
-(link to bzip2), bzcmp, bzdiff, bzegrep, bzfgrep, bzgrep, bzip2, bzip2recover,
-bzless and bzmore</para>
-
-<para><emphasis>Installed libraries</emphasis>: libbz2.a, libbz2.so (link to
-libbz2.so.1.0), libbz2.so.1.0 (link to libbz2.so.&bzip2-version;) and
-libbz2.so.&bzip2-version;</para>
-
-</sect2>
+<segmentedlist>
+<segtitle>Installed programs</segtitle>
+<segtitle>Installed libraries</segtitle>
+<seglistitem><seg>bunzip2 (link to bzip2), bzcat (link to bzip2), bzcmp, bzdiff,
+bzegrep, bzfgrep, bzgrep, bzip2, bzip2recover, bzless and bzmore</seg>
+<seg>libbz2.a, libbz2.so (link to libbz2.so.1.0), libbz2.so.1.0 (link to
+libbz2.so.&bzip2-version;) and libbz2.so.&bzip2-version;</seg></seglistitem>
+</segmentedlist>
-<sect2><title>Short descriptions</title>
+<variablelist><title>Short descriptions</title>
+<varlistentry>
+<term id="bunzip2"><command>bunzip2</command></term>
+<listitem>
<indexterm zone="ch-system-bzip2 bunzip2"><primary sortas="b-bunzip2">bunzip2</primary></indexterm>
-<para id="bunzip2"><command>bunzip2</command> decompresses bzipped files.</para>
+<para>decompresses bzipped files.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="bzcat"><command>bzcat</command></term>
+<listitem>
<indexterm zone="ch-system-bzip2 bzcat"><primary sortas="b-bzcat">bzcat</primary></indexterm>
-<para id="bzcat"><command>bzcat</command> decompresses to standard output.</para>
+<para>decompresses to standard output.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="bzcmp"><command>bzcmp</command></term>
+<listitem>
<indexterm zone="ch-system-bzip2 bzcmp"><primary sortas="b-bzcmp">bzcmp</primary></indexterm>
-<para id="bzcmp"><command>bzcmp</command> runs cmp on bzipped files.</para>
+<para>runs cmp on bzipped files.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="bzdiff"><command>bzdiff</command></term>
+<listitem>
<indexterm zone="ch-system-bzip2 bzdiff"><primary sortas="b-bzdiff">bzdiff</primary></indexterm>
-<para id="bzdiff"><command>bzdiff</command> runs diff on bzipped files.</para>
+<para>runs diff on bzipped files.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="bzgrep"><command>bzgrep</command></term>
+<listitem>
<indexterm zone="ch-system-bzip2 bzgrep"><primary sortas="b-bzgrep">bzgrep</primary></indexterm>
-<para id="bzgrep"><command>bzgrep</command> and friends run grep on bzipped files.</para>
+<para>and friends run grep on bzipped files.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="bzip2"><command>bzip2</command></term>
+<listitem>
<indexterm zone="ch-system-bzip2 bzip2"><primary sortas="b-bzip2">bzip2</primary></indexterm>
-<para id="bzip2"><command>bzip2</command> compresses files using the Burrows-Wheeler
+<para>compresses files using the Burrows-Wheeler
block sorting text compression algorithm with Huffman coding. The compression
rate is generally considerably better than that achieved by more conventional
compressors using LZ77/LZ78, like <command>gzip</command>.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="bzip2recover"><command>bzip2recover</command></term>
+<listitem>
<indexterm zone="ch-system-bzip2 bzip2recover"><primary sortas="b-bzip2recover">bzip2recover</primary></indexterm>
-<para id="bzip2recover"><command>bzip2recover</command> tries to recover data from damaged
-bzip2 files.</para>
+<para>tries to recover data from damaged bzip2 files.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="bzless"><command>bzless</command></term>
+<listitem>
<indexterm zone="ch-system-bzip2 bzless"><primary sortas="b-bzless">bzless</primary></indexterm>
-<para id="bzless"><command>bzless</command> runs less on bzipped files.</para>
+<para>runs less on bzipped files.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="bzmore"><command>bzmore</command></term>
+<listitem>
<indexterm zone="ch-system-bzip2 bzmore"><primary sortas="b-bzmore">bzmore</primary></indexterm>
-<para id="bzmore"><command>bzmore</command> runs more on bzipped files.</para>
+<para>runs more on bzipped files.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="libbz2"><command>libbz2*</command></term>
+<listitem>
<indexterm zone="ch-system-bzip2 libbz2"><primary sortas="c-libbz2*">libbz2*</primary></indexterm>
-<para id="libbz2"><command>libbz2*</command> is the library implementing lossless,
+<para>is the library implementing lossless,
block-sorting data compression, using the Burrows-Wheeler algorithm.</para>
+</listitem>
+</varlistentry>
+</variablelist>
</sect2>
-
-
</sect1>