浏览代码

Make the spacing consistent for redirecting to a here-document. Thanks to Peter Ennis for the report.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7797 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 19 年之前
父节点
当前提交
1f3f918e63
共有 5 个文件被更改,包括 9 次插入9 次删除
  1. 1 1
      chapter05/gawk.xml
  2. 1 1
      chapter06/gawk.xml
  3. 2 2
      chapter06/man-db.xml
  4. 3 3
      chapter07/symlinks.xml
  5. 2 2
      general.ent

+ 1 - 1
chapter05/gawk.xml

@@ -46,7 +46,7 @@
     e.g., Gettext testsuite failures. Work around this issue by appending the
     e.g., Gettext testsuite failures. Work around this issue by appending the
     missing macro definitions to <filename>config.h</filename>:</para>
     missing macro definitions to <filename>config.h</filename>:</para>
 
 
-<screen><userinput>cat &gt;&gt;config.h &lt;&lt;"EOF"
+<screen><userinput>cat &gt;&gt; config.h &lt;&lt; "EOF"
 <literal>#define HAVE_LANGINFO_CODESET 1
 <literal>#define HAVE_LANGINFO_CODESET 1
 #define HAVE_LC_MESSAGES 1</literal>
 #define HAVE_LC_MESSAGES 1</literal>
 EOF</userinput></screen>
 EOF</userinput></screen>

+ 1 - 1
chapter06/gawk.xml

@@ -49,7 +49,7 @@
     e.g., Gettext testsuite failures. Work around this issue by appending the
     e.g., Gettext testsuite failures. Work around this issue by appending the
     missing macro definitions to <filename>config.h</filename>:</para>
     missing macro definitions to <filename>config.h</filename>:</para>
 
 
-<screen><userinput>cat &gt;&gt;config.h &lt;&lt;"EOF"
+<screen><userinput>cat &gt;&gt; config.h &lt;&lt; "EOF"
 <literal>#define HAVE_LANGINFO_CODESET 1
 <literal>#define HAVE_LANGINFO_CODESET 1
 #define HAVE_LC_MESSAGES 1</literal>
 #define HAVE_LC_MESSAGES 1</literal>
 EOF</userinput></screen>
 EOF</userinput></screen>

+ 2 - 2
chapter06/man-db.xml

@@ -57,7 +57,7 @@ sed -i 's,\*_\*,??,' man/Makefile.in</userinput></screen>
     <para>The third change accounts for programs that Man-DB should be able
     <para>The third change accounts for programs that Man-DB should be able
     to find at runtime, but that haven't been installed yet:</para>
     to find at runtime, but that haven't been installed yet:</para>
 
 
-<screen><userinput>cat &gt;&gt;include/manconfig.h.in &lt;&lt;"EOF"
+<screen><userinput>cat &gt;&gt; include/manconfig.h.in &lt;&lt; "EOF"
 <literal>#define WEB_BROWSER "exec /usr/bin/lynx"
 <literal>#define WEB_BROWSER "exec /usr/bin/lynx"
 #define COL "/usr/bin/col"
 #define COL "/usr/bin/col"
 #define VGRIND "/usr/bin/vgrind"
 #define VGRIND "/usr/bin/vgrind"
@@ -119,7 +119,7 @@ EOF</userinput></screen>
     during the system build, for public data, we will not bother with error
     during the system build, for public data, we will not bother with error
     checking, nor use a non-predictable temporary file name.</para>
     checking, nor use a non-predictable temporary file name.</para>
 
 
-<screen><userinput>cat &gt;&gt;convert-mans &lt;&lt;"EOF"
+<screen><userinput>cat &gt;&gt; convert-mans &lt;&lt; "EOF"
 <literal>#!/bin/sh -e
 <literal>#!/bin/sh -e
 FROM="$1"
 FROM="$1"
 TO="$2"
 TO="$2"

+ 3 - 3
chapter07/symlinks.xml

@@ -32,7 +32,7 @@
     location of the device on the bus. If you are going to use the first
     location of the device on the bus. If you are going to use the first
     approach, create a file similar to the following:</para>
     approach, create a file similar to the following:</para>
 
 
-<screen role="nodump"><userinput>cat &gt;/etc/udev/rules.d/82-cdrom.rules &lt;&lt; EOF
+<screen role="nodump"><userinput>cat &gt; /etc/udev/rules.d/82-cdrom.rules &lt;&lt; EOF
 <literal>
 <literal>
 # Custom CD-ROM symlinks
 # Custom CD-ROM symlinks
 SUBSYSTEM=="block", ENV{ID_MODEL}=="SAMSUNG_CD-ROM_SC-148F", \
 SUBSYSTEM=="block", ENV{ID_MODEL}=="SAMSUNG_CD-ROM_SC-148F", \
@@ -64,7 +64,7 @@ EOF</userinput></screen>
 
 
     <para>The second approach yields:</para>
     <para>The second approach yields:</para>
 
 
-<screen role="nodump"><userinput>cat &gt;/etc/udev/rules.d/82-cdrom.rules &lt;&lt; EOF
+<screen role="nodump"><userinput>cat &gt; /etc/udev/rules.d/82-cdrom.rules &lt;&lt; EOF
 <literal>
 <literal>
 # Custom CD-ROM symlinks
 # Custom CD-ROM symlinks
 SUBSYSTEM=="block", ENV{ID_TYPE}=="cd", \
 SUBSYSTEM=="block", ENV{ID_TYPE}=="cd", \
@@ -116,7 +116,7 @@ EOF</userinput></screen>
 
 
     <para>Then write rules that create the symlinks, e.g.:</para>
     <para>Then write rules that create the symlinks, e.g.:</para>
 
 
-<screen role="nodump"><userinput>cat &gt;/etc/udev/rules.d/83-duplicate_devs.rules &lt;&lt; EOF
+<screen role="nodump"><userinput>cat &gt; /etc/udev/rules.d/83-duplicate_devs.rules &lt;&lt; EOF
 <literal>
 <literal>
 # Persistent symlinks for webcam and tuner
 # Persistent symlinks for webcam and tuner
 KERNEL=="video*", SYSFS{idProduct}=="1910", SYSFS{idVendor}=="0d81", \
 KERNEL=="video*", SYSFS{idProduct}=="1910", SYSFS{idVendor}=="0d81", \

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20060921">
-<!ENTITY releasedate "September 21, 2006">
+<!ENTITY version "SVN-20060922">
+<!ENTITY releasedate "September 22, 2006">
 <!ENTITY milestone "6.3">
 <!ENTITY milestone "6.3">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->