1
0
Эх сурвалжийг харах

Chapter 6 - Sysvinit: Simplified the sed to demonstrate yet another sed variation.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3111 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Greg Schafer 22 жил өмнө
parent
commit
311e8a52ee

+ 3 - 0
chapter01/changelog.xml

@@ -35,6 +35,9 @@
 </itemizedlist>
 </listitem>
 
+<listitem><para>November 16th, 2003 [greg]: Chapter 6 - Sysvinit: Simplified
+the sed to demonstrate yet another sed variation.</para></listitem>
+
 <listitem><para>November 17th, 2003 [jeremy]: Chapter 6 - Perl: Added fix
 for perldoc less invocation problem.  Closes bug 716.</para></listitem>
 

+ 1 - 1
chapter06/sysvinit.xml

@@ -24,7 +24,7 @@ signal".</para>
 <para>Edit the halt message:</para>
 
 <screen><userinput>cp src/init.c{,.backup}
-sed 's/Sending processes/Sending processes started by init/g' \
+sed 's/Sending processes/&amp; started by init/g' \
 &nbsp;&nbsp;&nbsp;&nbsp;src/init.c.backup &gt; src/init.c</userinput></screen>
 
 <para>Compile Sysvinit:</para>