[fcc02767] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-gzip" role="wrap">
|
---|
| 9 | <?dbhtml filename="gzip.html"?>
|
---|
| 10 |
|
---|
| 11 | <sect1info condition="script">
|
---|
| 12 | <productname>gzip</productname>
|
---|
| 13 | <productnumber>&gzip-version;</productnumber>
|
---|
| 14 | <address>&gzip-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
| 17 | <title>Gzip-&gzip-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-gzip">
|
---|
| 20 | <primary sortas="a-Gzip">Gzip</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
| 25 |
|
---|
| 26 | <para>The Gzip package contains programs for compressing and decompressing
|
---|
| 27 | files.</para>
|
---|
| 28 |
|
---|
| 29 | <segmentedlist>
|
---|
| 30 | <segtitle>&buildtime;</segtitle>
|
---|
| 31 | <segtitle>&diskspace;</segtitle>
|
---|
| 32 |
|
---|
| 33 | <seglistitem>
|
---|
[fb386e0] | 34 | <seg>&gzip-fin-sbu;</seg>
|
---|
| 35 | <seg>&gzip-fin-du;</seg>
|
---|
[fcc02767] | 36 | </seglistitem>
|
---|
| 37 | </segmentedlist>
|
---|
| 38 |
|
---|
| 39 | </sect2>
|
---|
| 40 |
|
---|
| 41 | <sect2 role="installation">
|
---|
| 42 | <title>Installation of Gzip</title>
|
---|
| 43 |
|
---|
| 44 | <para>Prepare Gzip for compilation:</para>
|
---|
| 45 |
|
---|
| 46 | <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
---|
| 47 |
|
---|
| 48 | <para>Compile the package:</para>
|
---|
| 49 |
|
---|
| 50 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 51 |
|
---|
| 52 | <para>To test the results, issue:</para>
|
---|
| 53 |
|
---|
| 54 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
| 55 |
|
---|
| 56 | <para>Install the package:</para>
|
---|
| 57 |
|
---|
| 58 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
| 59 |
|
---|
| 60 | </sect2>
|
---|
| 61 |
|
---|
| 62 | <sect2 id="contents-gzip" role="content">
|
---|
| 63 | <title>Contents of Gzip</title>
|
---|
| 64 |
|
---|
| 65 | <segmentedlist>
|
---|
| 66 | <segtitle>Installed programs</segtitle>
|
---|
| 67 |
|
---|
| 68 | <seglistitem>
|
---|
| 69 | <seg>gunzip, gzexe, gzip, uncompress (hard link with gunzip), zcat, zcmp,
|
---|
| 70 | zdiff, zegrep, zfgrep, zforce, zgrep, zless, zmore, and znew</seg>
|
---|
| 71 | </seglistitem>
|
---|
| 72 | </segmentedlist>
|
---|
| 73 |
|
---|
| 74 | <variablelist>
|
---|
| 75 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 76 | <?dbfo list-presentation="list"?>
|
---|
| 77 | <?dbhtml list-presentation="table"?>
|
---|
| 78 |
|
---|
| 79 | <varlistentry id="gunzip">
|
---|
| 80 | <term><command>gunzip</command></term>
|
---|
| 81 | <listitem>
|
---|
| 82 | <para>Decompresses gzipped files</para>
|
---|
| 83 | <indexterm zone="ch-system-gzip gunzip">
|
---|
| 84 | <primary sortas="b-gunzip">gunzip</primary>
|
---|
| 85 | </indexterm>
|
---|
| 86 | </listitem>
|
---|
| 87 | </varlistentry>
|
---|
| 88 |
|
---|
| 89 | <varlistentry id="gzexe">
|
---|
| 90 | <term><command>gzexe</command></term>
|
---|
| 91 | <listitem>
|
---|
| 92 | <para>Creates self-decompressing executable files</para>
|
---|
| 93 | <indexterm zone="ch-system-gzip gzexe">
|
---|
| 94 | <primary sortas="b-gzexe">gzexe</primary>
|
---|
| 95 | </indexterm>
|
---|
| 96 | </listitem>
|
---|
| 97 | </varlistentry>
|
---|
| 98 |
|
---|
| 99 | <varlistentry id="gzip">
|
---|
| 100 | <term><command>gzip</command></term>
|
---|
| 101 | <listitem>
|
---|
| 102 | <para>Compresses the given files using Lempel-Ziv (LZ77) coding</para>
|
---|
| 103 | <indexterm zone="ch-system-gzip gzip">
|
---|
| 104 | <primary sortas="b-gzip">gzip</primary>
|
---|
| 105 | </indexterm>
|
---|
| 106 | </listitem>
|
---|
| 107 | </varlistentry>
|
---|
| 108 |
|
---|
| 109 | <varlistentry id="uncompress">
|
---|
| 110 | <term><command>uncompress</command></term>
|
---|
| 111 | <listitem>
|
---|
| 112 | <para>Decompresses compressed files</para>
|
---|
| 113 | <indexterm zone="ch-system-gzip uncompress">
|
---|
| 114 | <primary sortas="b-uncompress">uncompress</primary>
|
---|
| 115 | </indexterm>
|
---|
| 116 | </listitem>
|
---|
| 117 | </varlistentry>
|
---|
| 118 |
|
---|
| 119 | <varlistentry id="zcat">
|
---|
| 120 | <term><command>zcat</command></term>
|
---|
| 121 | <listitem>
|
---|
| 122 | <para>Decompresses the given gzipped files to standard output</para>
|
---|
| 123 | <indexterm zone="ch-system-gzip zcat">
|
---|
| 124 | <primary sortas="b-zcat">zcat</primary>
|
---|
| 125 | </indexterm>
|
---|
| 126 | </listitem>
|
---|
| 127 | </varlistentry>
|
---|
| 128 |
|
---|
| 129 | <varlistentry id="zcmp">
|
---|
| 130 | <term><command>zcmp</command></term>
|
---|
| 131 | <listitem>
|
---|
| 132 | <para>Runs <command>cmp</command> on gzipped files</para>
|
---|
| 133 | <indexterm zone="ch-system-gzip zcmp">
|
---|
| 134 | <primary sortas="b-zcmp">zcmp</primary>
|
---|
| 135 | </indexterm>
|
---|
| 136 | </listitem>
|
---|
| 137 | </varlistentry>
|
---|
| 138 |
|
---|
| 139 | <varlistentry id="zdiff">
|
---|
| 140 | <term><command>zdiff</command></term>
|
---|
| 141 | <listitem>
|
---|
| 142 | <para>Runs <command>diff</command> on gzipped files</para>
|
---|
| 143 | <indexterm zone="ch-system-gzip zdiff">
|
---|
| 144 | <primary sortas="b-zdiff">zdiff</primary>
|
---|
| 145 | </indexterm>
|
---|
| 146 | </listitem>
|
---|
| 147 | </varlistentry>
|
---|
| 148 |
|
---|
| 149 | <varlistentry id="zegrep">
|
---|
| 150 | <term><command>zegrep</command></term>
|
---|
| 151 | <listitem>
|
---|
| 152 | <para>Runs <command>egrep</command> on gzipped files</para>
|
---|
| 153 | <indexterm zone="ch-system-gzip zegrep">
|
---|
| 154 | <primary sortas="b-zegrep">zegrep</primary>
|
---|
| 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="zfgrep">
|
---|
| 160 | <term><command>zfgrep</command></term>
|
---|
| 161 | <listitem>
|
---|
| 162 | <para>Runs <command>fgrep</command> on gzipped files</para>
|
---|
| 163 | <indexterm zone="ch-system-gzip zfgrep">
|
---|
| 164 | <primary sortas="b-zfgrep">zfgrep</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
| 169 | <varlistentry id="zforce">
|
---|
| 170 | <term><command>zforce</command></term>
|
---|
| 171 | <listitem>
|
---|
| 172 | <para>Forces a <filename class="extension">.gz</filename> extension on
|
---|
| 173 | all given files that are gzipped files, so that <command>gzip</command>
|
---|
| 174 | will not compress them again; this can be useful when file names were
|
---|
| 175 | truncated during a file transfer</para>
|
---|
| 176 | <indexterm zone="ch-system-gzip zforce">
|
---|
| 177 | <primary sortas="b-zforce">zforce</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | <varlistentry id="zgrep">
|
---|
| 183 | <term><command>zgrep</command></term>
|
---|
| 184 | <listitem>
|
---|
| 185 | <para>Runs <command>grep</command> on gzipped files</para>
|
---|
| 186 | <indexterm zone="ch-system-gzip zgrep">
|
---|
| 187 | <primary sortas="b-zgrep">zgrep</primary>
|
---|
| 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
| 192 | <varlistentry id="zless">
|
---|
| 193 | <term><command>zless</command></term>
|
---|
| 194 | <listitem>
|
---|
| 195 | <para>Runs <command>less</command> on gzipped files</para>
|
---|
| 196 | <indexterm zone="ch-system-gzip zless">
|
---|
| 197 | <primary sortas="b-zless">zless</primary>
|
---|
| 198 | </indexterm>
|
---|
| 199 | </listitem>
|
---|
| 200 | </varlistentry>
|
---|
| 201 |
|
---|
| 202 | <varlistentry id="zmore">
|
---|
| 203 | <term><command>zmore</command></term>
|
---|
| 204 | <listitem>
|
---|
| 205 | <para>Runs <command>more</command> on gzipped files</para>
|
---|
| 206 | <indexterm zone="ch-system-gzip zmore">
|
---|
| 207 | <primary sortas="b-zmore">zmore</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | <varlistentry id="znew">
|
---|
| 213 | <term><command>znew</command></term>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>Re-compresses files from <command>compress</command> format to
|
---|
| 216 | <command>gzip</command> format—<filename
|
---|
| 217 | class="extension">.Z</filename> to <filename
|
---|
| 218 | class="extension">.gz</filename></para>
|
---|
| 219 | <indexterm zone="ch-system-gzip znew">
|
---|
| 220 | <primary sortas="b-znew">znew</primary>
|
---|
| 221 | </indexterm>
|
---|
| 222 | </listitem>
|
---|
| 223 | </varlistentry>
|
---|
| 224 |
|
---|
| 225 | </variablelist>
|
---|
| 226 |
|
---|
| 227 | </sect2>
|
---|
| 228 |
|
---|
| 229 | </sect1>
|
---|