Browse Source

xml fixes

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1666 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 23 years ago
parent
commit
debe1b56f3
2 changed files with 5 additions and 5 deletions
  1. 4 4
      chapter05/gzip-exp.xml
  2. 1 1
      chapter05/installasuser.xml

+ 4 - 4
chapter05/gzip-exp.xml

@@ -1,10 +1,10 @@
 <sect2>
 <title>Command explanations</title>
 
-<para><userinput>cp $LFS/usr/bin/gunzip $LFS/usr/bin/gzip $LFS/bin &&
-rm $LFS/usr/bin/gunzip $LFS/usr/bin/gzip:</userinput> The reason we don't
-simply use <quote>mv</quote> to move the files to the new location is
-because gunzip is a hardlink to gzip. On older distributions you can't
+<para><userinput>cp $LFS/usr/bin/gunzip $LFS/usr/bin/gzip $LFS/bin
+&amp;&amp; rm $LFS/usr/bin/gunzip $LFS/usr/bin/gzip:</userinput> The reason
+we don't simply use <quote>mv</quote> to move the files to the new location
+is because gunzip is a hardlink to gzip. On older distributions you can't
 move a hardlink to another partition (and it's very possible that $LFS and
 $LFS/usr are separate partitions). With more recent distributions this
 isn't a problem. If you run mv to move hardlinks across partitions it'll

+ 1 - 1
chapter05/installasuser.xml

@@ -27,7 +27,7 @@ the normal way through the console or the display manager, or with
 <userinput>su - lfs</userinput>. When you're working as user "lfs", type
 the following commands to setup a good environment to work in:</para>
 
-<para><screen><userinput>cat > ~/.bash_profile << "EOF"
+<para><screen><userinput>cat &gt; ~/.bash_profile &lt;&lt; "EOF"
 umask 022
 
 LFS=/mnt/lfs