Bläddra i källkod

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 år sedan
förälder
incheckning
1f3f918e63
5 ändrade filer med 9 tillägg och 9 borttagningar
  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
     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
 #define HAVE_LC_MESSAGES 1</literal>
 EOF</userinput></screen>

+ 1 - 1
chapter06/gawk.xml

@@ -49,7 +49,7 @@
     e.g., Gettext testsuite failures. Work around this issue by appending the
     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
 #define HAVE_LC_MESSAGES 1</literal>
 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
     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"
 #define COL "/usr/bin/col"
 #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
     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
 FROM="$1"
 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
     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>
 # Custom CD-ROM symlinks
 SUBSYSTEM=="block", ENV{ID_MODEL}=="SAMSUNG_CD-ROM_SC-148F", \
@@ -64,7 +64,7 @@ EOF</userinput></screen>
 
     <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>
 # Custom CD-ROM symlinks
 SUBSYSTEM=="block", ENV{ID_TYPE}=="cd", \
@@ -116,7 +116,7 @@ EOF</userinput></screen>
 
     <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>
 # Persistent symlinks for webcam and tuner
 KERNEL=="video*", SYSFS{idProduct}=="1910", SYSFS{idVendor}=="0d81", \

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?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 generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->