From 673b0d84ba9591e07c0bdf0ee49d92eba10f502c Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Mon, 3 May 2004 10:59:46 +0000 Subject: * Merged newxml into HEAD git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/gzip.xml | 88 ++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 75 insertions(+), 13 deletions(-) (limited to 'chapter06/gzip.xml') diff --git a/chapter06/gzip.xml b/chapter06/gzip.xml index 81e054b4d..6294e6906 100644 --- a/chapter06/gzip.xml +++ b/chapter06/gzip.xml @@ -1,17 +1,24 @@ + + + %general-entities; +]> -Installing Gzip-&gzip-version; - +Gzip-&gzip-version; + + +Gzip The Gzip package contains programs for compressing and decompressing files. -&buildtime; &gzip-time; -&diskspace; &gzip-compsize; +&buildtime; 0.1 SBU +&diskspace; 2.6 MB + +Gzip installation depends on: Bash, Binutils, Coreutils, Diffutils, +GCC, Glibc, Grep, Make, Sed. -&aa-gzip-down; -&aa-gzip-dep; -   Installation of Gzip @@ -22,7 +29,7 @@ files. The gzexe script has the location of the gzip binary hard-wired into it. Because we later change -the location of the binary, the following command assures that the new +the location of the binary, the following command ensures that the new location gets placed into the script: cp gzexe.in{,.backup} @@ -36,8 +43,7 @@ sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in make install -And move the programs to the /bin directory: +Move the programs to the /bin directory: mv /usr/bin/gzip /bin rm /usr/bin/{gunzip,zcat} @@ -47,8 +53,64 @@ ln -s gunzip /bin/uncompress -&aa-gzip-shortdesc; -&aa-gzip-desc; - +Contents of Gzip + +Installed programs: gunzip (link to gzip), gzexe, +gzip, uncompress (link to gunzip), zcat (link to gzip), zcmp, zdiff, +zegrep, zfgrep, zforce, zgrep, zless, zmore and znew + + + +Short descriptions + +gunzip +gunzip decompresses gzipped files. + +gzexe +gzexe is used to create self-uncompressing +executable files. + +gzip +gzip compresses the given files, using +Lempel-Ziv (LZ77) coding. + +zcat +zcat uncompresses the given gzipped files to +standard output. + +zcmp +zcmp runs cmp on gzipped files. + +zdiff +zdiff runs diff on gzipped files. +zegrep +zegrep runs egrep on gzipped files. + +zfgrep +zfgrep runs fgrep on gzipped files. + +zforce +zforce 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. + +zgrep +zgrep runs grep on gzipped files. + +zless +zless runs less on gzipped files. + +zmore +zmore runs more on gzipped files. + +znew +znew re-compresses files from compress format +to gzip format -- .Z to .gz. + + + + + + -- cgit v1.2.3-54-g00ecf