cvs commit: LFS/BOOK/chapter06 bzip2-inst.xml

timothy at linuxfromscratch.org timothy at linuxfromscratch.org
Mon Sep 23 12:02:43 PDT 2002


timothy     02/09/23 12:02:43

  Modified:    BOOK/chapter01 changelog.xml
               BOOK/chapter02 install.xml
               BOOK/chapter05 bzip2-inst.xml
               BOOK/chapter06 bzip2-inst.xml
  Log:
  Added - before tar options for clarity and uniformity.
  
  Revision  Changes    Path
  1.381     +3 -2      LFS/BOOK/chapter01/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter01/changelog.xml,v
  retrieving revision 1.380
  retrieving revision 1.381
  diff -u -r1.380 -r1.381
  --- changelog.xml	23 Sep 2002 18:35:05 -0000	1.380
  +++ changelog.xml	23 Sep 2002 19:02:43 -0000	1.381
  @@ -59,8 +59,9 @@
   </itemizedlist>
   </para></listitem>
   
  -<listitem><para>September 23rd, 2002 [timothy]: Chapter 3,4,5: Applied
  -Bill Maltby's grammatic-fixes patch.</para></listitem>
  +<listitem><para>September 23rd, 2002 [timothy]: Applied Bill Maltby's
  +grammatic-fixes patch. Added <userinput>-</userinput> before
  +<userinput>tar</userinput> options (for clarity).</para></listitem>
   
   <listitem><para>September 22nd, 2002 [timothy]: Chapter 06: Applied Alex's
   grammatic-fixes patch.</para></listitem>
  
  
  
  1.30      +4 -4      LFS/BOOK/chapter02/install.xml
  
  Index: install.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter02/install.xml,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- install.xml	22 Sep 2002 03:19:24 -0000	1.29
  +++ install.xml	23 Sep 2002 19:02:43 -0000	1.30
  @@ -21,14 +21,14 @@
   running either one of the following two commands, depending on the
   filename:</para>
   
  -<para><screen><userinput>tar xvzf filename.tar.gz</userinput>
  -<userinput>tar xvzf filename.tgz</userinput></screen></para>
  +<para><screen><userinput>tar -xvzf filename.tar.gz</userinput>
  +<userinput>tar -xvzf filename.tgz</userinput></screen></para>
   
   
   <para>If a file is tar'ed and bzip2'ed, it is unpacked by
   running:</para>
   
  -<para><screen><userinput>bzcat filename.tar.bz2 | tar xv</userinput></screen></para>
  +<para><screen><userinput>bzcat filename.tar.bz2 | tar -xv</userinput></screen></para>
   
   <para>Nowadays most tar programs, but not all, are
   patched to be able to use bzip2 files directly.  They use either
  @@ -38,7 +38,7 @@
   
   <para>If a file is just tar'ed, it is unpacked by running:</para>
   
  -<para><screen><userinput>tar xvf filename.tar</userinput></screen></para>
  +<para><screen><userinput>tar -xvf filename.tar</userinput></screen></para>
   
   <para>When an archive is unpacked, a new directory will be created under the
   current directory (and this book assumes that the archives are unpacked
  
  
  
  1.20      +7 -5      LFS/BOOK/chapter05/bzip2-inst.xml
  
  Index: bzip2-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter05/bzip2-inst.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- bzip2-inst.xml	26 May 2002 21:25:09 -0000	1.19
  +++ bzip2-inst.xml	23 Sep 2002 19:02:43 -0000	1.20
  @@ -9,11 +9,13 @@
   <para>Although it's not strictly a part of a basic LFS system it's worth
   mentioning that a patch for Tar can be downloaded which enables the tar
   program to compress and uncompress using bzip2/bunzip2 easily. With a
  -plain tar, you have to use constructions like bzcat file.tar.bz|tar
  -xv or tar --use-compress-prog=bunzip2 -xvf file.tar.bz2 to use bzip2 and
  -bunzip2 with tar. This patch provides the -j option so you can unpack a
  -bzip2'ed archive with tar xvfj file.tar.bz2. Applying this patch will be
  -mentioned later on when the Tar package is installed.</para>
  +plain tar, you have to use constructions like
  +<userinput>bzcat file.tar.bz | tar -xv</userinput> or
  +<userinput>tar --use-compress-prog=bunzip2 -xvf file.tar.bz2</userinput>
  +to use bzip2 and bunzip2 with tar. This patch provides the
  +<userinput>-j</userinput> option so you can unpack a bzip2'ed archive
  +with <userinput>tar -xvfj file.tar.bz2</userinput>. Applying this patch
  +will be mentioned later on when the Tar package is installed.</para>
   
   </sect2>
   
  
  
  
  1.29      +7 -5      LFS/BOOK/chapter06/bzip2-inst.xml
  
  Index: bzip2-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/bzip2-inst.xml,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- bzip2-inst.xml	14 Sep 2002 04:18:47 -0000	1.28
  +++ bzip2-inst.xml	23 Sep 2002 19:02:43 -0000	1.29
  @@ -19,11 +19,13 @@
   <para>Although it's not strictly a part of a basic LFS system it's worth
   mentioning that a patch for Tar can be downloaded which enables the tar
   program to compress and uncompress using bzip2/bunzip2 easily. With a
  -plain tar, you have to use constructions like bzcat file.tar.bz|tar
  -xv or tar --use-compress-prog=bunzip2 -xvf file.tar.bz2 to use bzip2 and
  -bunzip2 with tar. This patch provides the -j option so you can unpack a
  -Bzip2 archive with tar xvfj file.tar.bz2. Applying this patch will be
  -mentioned later on when the Tar package is re-installed.</para>
  +plain tar, you have to use constructions like
  +<userinput>bzcat file.tar.bz | tar -xv</userinput> or
  +<userinput>tar --use-compress-prog=bunzip2 -xvf file.tar.bz2</userinput>
  +to use bzip2 and bunzip2 with tar. This patch provides the
  +<userinput>-j</userinput> option so you can unpack a bzip2'ed archive
  +with <userinput>tar -xvfj file.tar.bz2</userinput>. Applying this patch
  +will be mentioned later on when the Tar package is re-installed.</para>
   
   </sect2>
   
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list