aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gzip.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/gzip.xml')
-rw-r--r--chapter06/gzip.xml111
1 files changed, 86 insertions, 25 deletions
diff --git a/chapter06/gzip.xml b/chapter06/gzip.xml
index 419005823..65791d2b7 100644
--- a/chapter06/gzip.xml
+++ b/chapter06/gzip.xml
@@ -59,63 +59,124 @@ ln -s gunzip /bin/uncompress</userinput></screen>
</sect2>
-<sect2 id="contents-gzip"><title>Contents of Gzip</title>
+<sect2 id="contents-gzip" role="content"><title>Contents of Gzip</title>
-<para><emphasis>Installed programs</emphasis>: gunzip (link to gzip), gzexe,
+<segmentedlist>
+<segtitle>Installed programs</segtitle>
+<seglistitem><seg>gunzip (link to gzip), gzexe,
gzip, uncompress (link to gunzip), zcat (link to gzip), zcmp, zdiff,
-zegrep, zfgrep, zforce, zgrep, zless, zmore and znew</para>
-
-</sect2>
+zegrep, zfgrep, zforce, zgrep, zless, zmore and znew</seg></seglistitem>
+</segmentedlist>
-<sect2><title>Short descriptions</title>
+<variablelist><title>Short descriptions</title>
+<varlistentry>
+<term id="gunzip"><command>gunzip</command></term>
+<listitem>
<indexterm zone="ch-system-gzip gunzip"><primary sortas="b-gunzip">gunzip</primary></indexterm>
-<para id="gunzip"><command>gunzip</command> decompresses gzipped files.</para>
+<para>decompresses gzipped files.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="gzexe"><command>gzexe</command></term>
+<listitem>
<indexterm zone="ch-system-gzip gzexe"><primary sortas="b-gzexe">gzexe</primary></indexterm>
-<para id="gzexe"><command>gzexe</command> is used to create self-uncompressing
-executable files.</para>
+<para>is used to create self-uncompressing executable files.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="gzip"><command>gzip</command></term>
+<listitem>
<indexterm zone="ch-system-gzip gzip"><primary sortas="b-gzip">gzip</primary></indexterm>
-<para id="gzip"><command>gzip</command> compresses the given files, using
-Lempel-Ziv (LZ77) coding.</para>
+<para>compresses the given files, using Lempel-Ziv (LZ77) coding.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="zcat"><command>zcat</command></term>
+<listitem>
<indexterm zone="ch-system-gzip zcat"><primary sortas="b-zcat">zcat</primary></indexterm>
-<para id="zcat"><command>zcat</command> uncompresses the given gzipped files to
-standard output.</para>
+<para>uncompresses the given gzipped files to standard output.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="zcmp"><command>zcmp</command></term>
+<listitem>
<indexterm zone="ch-system-gzip zcmp"><primary sortas="b-zcmp">zcmp</primary></indexterm>
-<para id="zcmp"><command>zcmp</command> runs cmp on gzipped files.</para>
+<para>runs cmp on gzipped files.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="zdiff"><command>zdiff</command></term>
+<listitem>
<indexterm zone="ch-system-gzip zdiff"><primary sortas="b-zdiff">zdiff</primary></indexterm>
-<para id="zdiff"><command>zdiff</command> runs diff on gzipped files.</para>
+<para>runs diff on gzipped files.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="zegrep"><command>zegrep</command></term>
+<listitem>
<indexterm zone="ch-system-gzip zegrep"><primary sortas="b-zegrep">zegrep</primary></indexterm>
-<para id="zegrep"><command>zegrep</command> runs egrep on gzipped files.</para>
+<para>runs egrep on gzipped files.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="zfgrep"><command>zfgrep</command></term>
+<listitem>
<indexterm zone="ch-system-gzip zfgrep"><primary sortas="b-zfgrep">zfgrep</primary></indexterm>
-<para id="zfgrep"><command>zfgrep</command> runs fgrep on gzipped files.</para>
+<para>runs fgrep on gzipped files.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="zforce"><command>zforce</command></term>
+<listitem>
<indexterm zone="ch-system-gzip zforce"><primary sortas="b-zforce">zforce</primary></indexterm>
-<para id="zforce"><command>zforce</command> forces a .gz extension on all given files
+<para>forces a .gz extension on all given files
that are gzipped files, so that gzip will not compress them again. This can be
useful when file names were truncated during a file transfer.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="zgrep"><command>zgrep</command></term>
+<listitem>
<indexterm zone="ch-system-gzip zgrep"><primary sortas="b-zgrep">zgrep</primary></indexterm>
-<para id="zgrep"><command>zgrep</command> runs grep on gzipped files.</para>
+<para>runs grep on gzipped files.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="zless"><command>zless</command></term>
+<listitem>
<indexterm zone="ch-system-gzip zless"><primary sortas="b-zless">zless</primary></indexterm>
-<para id="zless"><command>zless</command> runs less on gzipped files.</para>
+<para>runs less on gzipped files.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="zmore"><command>zmore</command></term>
+<listitem>
<indexterm zone="ch-system-gzip zmore"><primary sortas="b-zmore">zmore</primary></indexterm>
-<para id="zmore"><command>zmore</command> runs more on gzipped files.</para>
+<para>runs more on gzipped files.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="znew"><command>znew</command></term>
+<listitem>
<indexterm zone="ch-system-gzip znew"><primary sortas="b-znew">znew</primary></indexterm>
-<para id="znew"><command>znew</command> re-compresses files from compress format
-to gzip format -- .Z to .gz.</para>
+<para>re-compresses files from compress format to gzip format -- .Z to .gz.</para>
+</listitem>
+</varlistentry>
+</variablelist>
</sect2>
-
-
</sect1>