aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-08-08 15:23:04 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-08-08 15:23:04 +0000
commita9b23091c0e31b246b195063e11378367d1cca81 (patch)
treea6d8991c3643685eb306dd17776d258f8c4f58cd /chapter06
parentb8910e42b2349e08e9c4f363e49921b767c137c1 (diff)
layout fixes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@933 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/shadowpwd-exp.xml7
-rw-r--r--chapter06/shadowpwd-inst.xml3
2 files changed, 6 insertions, 4 deletions
diff --git a/chapter06/shadowpwd-exp.xml b/chapter06/shadowpwd-exp.xml
index 3eb42756a..f9c311362 100644
--- a/chapter06/shadowpwd-exp.xml
+++ b/chapter06/shadowpwd-exp.xml
@@ -1,9 +1,10 @@
<sect2>
<title>Command explanations</title>
-<para><userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' useradd.c.temp
-&gt; src/useradd.c</userinput>: This sed is used to fix a compilation
-bug which occurs due to a variable being used but not defined.</para>
+<para><userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' src/useradd.c
+&gt; useradd.c.temp &amp;&amp;</userinput>: This sed is used to fix a
+compilation bug which occurs due to a variable (nflg), being used but not
+defined.</para>
<para><userinput>cp limits login.access and others:</userinput> These files
were not installed during the installation of the package so we copy
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml
index edcddfad4..839eb7811 100644
--- a/chapter06/shadowpwd-inst.xml
+++ b/chapter06/shadowpwd-inst.xml
@@ -5,7 +5,8 @@
following commands:</para>
-<para><screen><userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' src/useradd.c &gt; useradd.c.temp &amp;&amp;</userinput>
+<para><screen><userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' \</userinput>
+<userinput> src/useradd.c &gt; useradd.c.temp &amp;&amp;</userinput>
<userinput>mv useradd.c.temp src/useradd.c &amp;&amp;</userinput>
<userinput>./configure --prefix=/usr &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>