浏览代码

Added - before tar options for clarity and uniformity.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2131 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Timothy Bauscher 23 年之前
父节点
当前提交
4a7171007f
共有 4 个文件被更改,包括 21 次插入16 次删除
  1. 3 2
      chapter01/changelog.xml
  2. 4 4
      chapter02/install.xml
  3. 7 5
      chapter05/bzip2-inst.xml
  4. 7 5
      chapter06/bzip2-inst.xml

+ 3 - 2
chapter01/changelog.xml

@@ -59,8 +59,9 @@
 </itemizedlist>
 </itemizedlist>
 </para></listitem>
 </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
 <listitem><para>September 22nd, 2002 [timothy]: Chapter 06: Applied Alex's
 grammatic-fixes patch.</para></listitem>
 grammatic-fixes patch.</para></listitem>

+ 4 - 4
chapter02/install.xml

@@ -21,14 +21,14 @@ section.</para>
 running either one of the following two commands, depending on the
 running either one of the following two commands, depending on the
 filename:</para>
 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
 <para>If a file is tar'ed and bzip2'ed, it is unpacked by
 running:</para>
 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
 <para>Nowadays most tar programs, but not all, are
 patched to be able to use bzip2 files directly.  They use either
 patched to be able to use bzip2 files directly.  They use either
@@ -38,7 +38,7 @@ works no matter how your host system decided to patch tar.</para>
 
 
 <para>If a file is just tar'ed, it is unpacked by running:</para>
 <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
 <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
 current directory (and this book assumes that the archives are unpacked

+ 7 - 5
chapter05/bzip2-inst.xml

@@ -9,11 +9,13 @@ make PREFIX=$LFS/static install</userinput></screen></para>
 <para>Although it's not strictly a part of a basic LFS system it's worth
 <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
 mentioning that a patch for Tar can be downloaded which enables the tar
 program to compress and uncompress using bzip2/bunzip2 easily. With a
 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>
 </sect2>
 
 

+ 7 - 5
chapter06/bzip2-inst.xml

@@ -19,11 +19,13 @@ ln -s bzip2 /bin/bzcat</userinput></screen></para>
 <para>Although it's not strictly a part of a basic LFS system it's worth
 <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
 mentioning that a patch for Tar can be downloaded which enables the tar
 program to compress and uncompress using bzip2/bunzip2 easily. With a
 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>
 </sect2>