Jelajahi Sumber

Minor spacing and xml fixes

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9639 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 13 tahun lalu
induk
melakukan
800f6ea095
4 mengubah file dengan 7 tambahan dan 7 penghapusan
  1. 1 1
      chapter06/gmp.xml
  2. 1 1
      chapter06/grep.xml
  3. 1 1
      chapter06/iproute2.xml
  4. 4 4
      prologue/hostreqs.xml

+ 1 - 1
chapter06/gmp.xml

@@ -52,7 +52,7 @@
 
     <para>First, fix a minor error noted on the upstream web page:</para>
 
-<screen><userinput remap="pre"> sed -i 's/np + dn, qn/&amp; - dn/' mpn/generic/dcpi1_bdiv_q.c</userinput></screen>
+<screen><userinput remap="pre">sed -i 's/np + dn, qn/&amp; - dn/' mpn/generic/dcpi1_bdiv_q.c</userinput></screen>
 
 
     <para>Prepare GMP for compilation:</para>

+ 1 - 1
chapter06/grep.xml

@@ -42,7 +42,7 @@
 
     <para>First, fix a small problem with a test script:</para>
 
-<screen><userinput>sed -i 's/cp/#&amp;/' tests/unibyte-bracket-expr</userinput></screen>
+<screen><userinput remap="pre">sed -i 's/cp/#&amp;/' tests/unibyte-bracket-expr</userinput></screen>
 
     <para>Prepare Grep for compilation:</para>
 

+ 1 - 1
chapter06/iproute2.xml

@@ -49,7 +49,7 @@
     <ulink url="&blfs-root;view/svn/server/databases.html#db"/>.
     </para>
 
-<screen><userinput>sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen>
+<screen><userinput remap="pre">sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen>
 
     <para>Compile the package:</para>
 

+ 4 - 4
prologue/hostreqs.xml

@@ -154,11 +154,11 @@ export LC_ALL=C
 # Simple script to list version numbers of critical development tools
 
 bash --version | head -n1 | cut -d" " -f2-4
-echo "/bin/sh -> `readlink -f /bin/sh`"
+echo "/bin/sh -&gt; `readlink -f /bin/sh`"
 echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-
 bison --version | head -n1
 if [ -e /usr/bin/yacc ];
-  then echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`"; 
+  then echo "/usr/bin/yacc -&gt; `readlink -f /usr/bin/yacc`"; 
   else echo "yacc not found"; fi
 bzip2 --version 2&gt;&amp;1 &lt; /dev/null | head -n1 | cut -d" " -f1,6-
 echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2
@@ -166,7 +166,7 @@ diff --version | head -n1
 find --version | head -n1
 gawk --version | head -n1
 if [ -e /usr/bin/awk ];
-  then echo "/usr/bin/awk -> `readlink -f /usr/bin/awk`"; 
+  then echo "/usr/bin/awk -$gt; `readlink -f /usr/bin/awk`"; 
   else echo "awk not found"; fi
 gcc --version | head -n1
 /lib/libc.so.6 | head -n1 | cut -d"," -f1
@@ -181,7 +181,7 @@ sed --version | head -n1
 tar --version | head -n1
 echo "Texinfo: `makeinfo --version | head -n1`"
 xz --version | head -n1
-echo 'main(){}' > dummy.c &amp;&amp; gcc -o dummy dummy.c
+echo 'main(){}' &gt; dummy.c &amp;&amp; gcc -o dummy dummy.c
 if [ -x dummy ]; then echo "Compilation OK";
   else echo "Compilation failed"; fi
 rm -f dummy.c dummy