From 4a7171007fe7374ca39694ade3b062d18a496caa Mon Sep 17 00:00:00 2001 From: Timothy Bauscher Date: Mon, 23 Sep 2002 19:02:43 +0000 Subject: [PATCH] Added - before tar options for clarity and uniformity. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2131 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 5 +++-- chapter02/install.xml | 8 ++++---- chapter05/bzip2-inst.xml | 12 +++++++----- chapter06/bzip2-inst.xml | 12 +++++++----- 4 files changed, 21 insertions(+), 16 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 8d98bcb2c..18c377a13 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -59,8 +59,9 @@ -September 23rd, 2002 [timothy]: Chapter 3,4,5: Applied -Bill Maltby's grammatic-fixes patch. +September 23rd, 2002 [timothy]: Applied Bill Maltby's +grammatic-fixes patch. Added - before +tar options (for clarity). September 22nd, 2002 [timothy]: Chapter 06: Applied Alex's grammatic-fixes patch. diff --git a/chapter02/install.xml b/chapter02/install.xml index 584434361..a37a71da0 100644 --- a/chapter02/install.xml +++ b/chapter02/install.xml @@ -21,14 +21,14 @@ section. running either one of the following two commands, depending on the filename: -tar xvzf filename.tar.gz -tar xvzf filename.tgz +tar -xvzf filename.tar.gz +tar -xvzf filename.tgz If a file is tar'ed and bzip2'ed, it is unpacked by running: -bzcat filename.tar.bz2 | tar xv +bzcat filename.tar.bz2 | tar -xv Nowadays most tar programs, but not all, are 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. If a file is just tar'ed, it is unpacked by running: -tar xvf filename.tar +tar -xvf filename.tar When an archive is unpacked, a new directory will be created under the current directory (and this book assumes that the archives are unpacked diff --git a/chapter05/bzip2-inst.xml b/chapter05/bzip2-inst.xml index b40eda13a..25878d00c 100644 --- a/chapter05/bzip2-inst.xml +++ b/chapter05/bzip2-inst.xml @@ -9,11 +9,13 @@ make PREFIX=$LFS/static install 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. +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. diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml index 9bfc7df64..ac95299a4 100644 --- a/chapter06/bzip2-inst.xml +++ b/chapter06/bzip2-inst.xml @@ -19,11 +19,13 @@ ln -s bzip2 /bin/bzcat 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. +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 re-installed.