Changeset 81fd230 for chapter06/gzip.xml
- Timestamp:
- 02/19/2005 10:16:42 PM (20 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 3d31fc4
- Parents:
- 2f9131f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/gzip.xml
r2f9131f r81fd230 4 4 %general-entities; 5 5 ]> 6 <sect1 id="ch-system-gzip" xreflabel="Gzip"role="wrap">6 <sect1 id="ch-system-gzip" role="wrap"> 7 7 <title>Gzip-&gzip-version;</title> 8 8 <?dbhtml filename="gzip.html"?> … … 11 11 12 12 <sect2 role="package"><title/> 13 <para>The Gzip package contains programs for compressing and decompressing 14 files.</para> 13 15 14 16 <segmentedlist> … … 18 20 </segmentedlist> 19 21 22 <segmentedlist> 23 <segtitle>Gzip installation depends on</segtitle> 24 <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, 25 GCC, Glibc, Grep, Make, and Sed</seg></seglistitem> 26 </segmentedlist> 20 27 </sect2> 21 28 … … 27 34 <screen><userinput>./configure --prefix=/usr</userinput></screen> 28 35 29 <para>Issue a sed command:</para> 36 <para>The <command>gzexe</command> script has the location of the 37 <command>gzip</command> binary hard-wired into it. Because the 38 location of the binary is changed later, the following command ensures 39 that the new location gets placed into the script:</para> 30 40 31 41 <screen><userinput>sed -i 's@"BINDIR"@/bin@g' gzexe.in</userinput></screen> … … 52 62 <sect2 id="contents-gzip" role="content"><title>Contents of Gzip</title> 53 63 54 <para>See testing</para> 64 <segmentedlist> 65 <segtitle>Installed programs</segtitle> 66 <seglistitem><seg>gunzip (link to gzip), gzexe, 67 gzip, uncompress (link to gunzip), zcat (link to gzip), zcmp, zdiff, 68 zegrep, zfgrep, zforce, zgrep, zless, zmore, and znew</seg></seglistitem> 69 </segmentedlist> 70 71 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 72 <?dbfo list-presentation="list"?> 73 74 <varlistentry id="gunzip"> 75 <term><command>gunzip</command></term> 76 <listitem> 77 <para>Decompresses gzipped files</para> 78 <indexterm zone="ch-system-gzip gunzip"><primary sortas="b-gunzip">gunzip</primary></indexterm> 79 </listitem> 80 </varlistentry> 81 82 <varlistentry id="gzexe"> 83 <term><command>gzexe</command></term> 84 <listitem> 85 <para>Creates self-uncompressing executable files</para> 86 <indexterm zone="ch-system-gzip gzexe"><primary sortas="b-gzexe">gzexe</primary></indexterm> 87 </listitem> 88 </varlistentry> 89 90 <varlistentry id="gzip"> 91 <term><command>gzip</command></term> 92 <listitem> 93 <para>Compresses the given files using Lempel-Ziv (LZ77) coding</para> 94 <indexterm zone="ch-system-gzip gzip"><primary sortas="b-gzip">gzip</primary></indexterm> 95 </listitem> 96 </varlistentry> 97 98 <varlistentry id="uncompress"> 99 <term><command>uncompress</command></term> 100 <listitem> 101 <para>Decompresses compressed files</para> 102 <indexterm zone="ch-system-gzip uncompress"><primary sortas="b-uncompress">uncompress</primary></indexterm> 103 </listitem> 104 </varlistentry> 105 106 <varlistentry id="zcat"> 107 <term><command>zcat</command></term> 108 <listitem> 109 <para>Uncompresses the given gzipped files to standard output</para> 110 <indexterm zone="ch-system-gzip zcat"><primary sortas="b-zcat">zcat</primary></indexterm> 111 </listitem> 112 </varlistentry> 113 114 <varlistentry id="zcmp"> 115 <term><command>zcmp</command></term> 116 <listitem> 117 <para>Runs <command>cmp</command> on gzipped files</para> 118 <indexterm zone="ch-system-gzip zcmp"><primary sortas="b-zcmp">zcmp</primary></indexterm> 119 </listitem> 120 </varlistentry> 121 122 <varlistentry id="zdiff"> 123 <term><command>zdiff</command></term> 124 <listitem> 125 <para>Runs <command>diff</command> on gzipped files</para> 126 <indexterm zone="ch-system-gzip zdiff"><primary sortas="b-zdiff">zdiff</primary></indexterm> 127 </listitem> 128 </varlistentry> 129 130 <varlistentry id="zegrep"> 131 <term><command>zegrep</command></term> 132 <listitem> 133 <para>Runs <command>egrep</command> on gzipped files</para> 134 <indexterm zone="ch-system-gzip zegrep"><primary sortas="b-zegrep">zegrep</primary></indexterm> 135 </listitem> 136 </varlistentry> 137 138 <varlistentry id="zfgrep"> 139 <term><command>zfgrep</command></term> 140 <listitem> 141 <para>Runs <command>fgrep</command> on gzipped files</para> 142 <indexterm zone="ch-system-gzip zfgrep"><primary sortas="b-zfgrep">zfgrep</primary></indexterm> 143 </listitem> 144 </varlistentry> 145 146 <varlistentry id="zforce"> 147 <term><command>zforce</command></term> 148 <listitem> 149 <para>Forces a <filename class="extension">.gz</filename> extension on all given files 150 that are gzipped files, so that <command>gzip</command> will not compress them again; this can be 151 useful when file names were truncated during a file transfer</para> 152 <indexterm zone="ch-system-gzip zforce"><primary sortas="b-zforce">zforce</primary></indexterm> 153 </listitem> 154 </varlistentry> 155 156 <varlistentry id="zgrep"> 157 <term><command>zgrep</command></term> 158 <listitem> 159 <para>Runs <command>grep</command> on gzipped files</para> 160 <indexterm zone="ch-system-gzip zgrep"><primary sortas="b-zgrep">zgrep</primary></indexterm> 161 </listitem> 162 </varlistentry> 163 164 <varlistentry id="zless"> 165 <term><command>zless</command></term> 166 <listitem> 167 <para>Runs <command>less</command> on gzipped files</para> 168 <indexterm zone="ch-system-gzip zless"><primary sortas="b-zless">zless</primary></indexterm> 169 </listitem> 170 </varlistentry> 171 172 <varlistentry id="zmore"> 173 <term><command>zmore</command></term> 174 <listitem> 175 <para>Runs <command>more</command> on gzipped files</para> 176 <indexterm zone="ch-system-gzip zmore"><primary sortas="b-zmore">zmore</primary></indexterm> 177 </listitem> 178 </varlistentry> 179 180 <varlistentry id="znew"> 181 <term><command>znew</command></term> 182 <listitem> 183 <para>Re-compresses files from <command>compress</command> format to 184 <command>gzip</command> format—<filename class="extension">.Z</filename> 185 to <filename class="extension">.gz</filename></para> 186 <indexterm zone="ch-system-gzip znew"><primary sortas="b-znew">znew</primary></indexterm> 187 </listitem> 188 </varlistentry> 189 </variablelist> 55 190 56 191 </sect2> 57 192 58 193 </sect1> 194
Note:
See TracChangeset
for help on using the changeset viewer.