aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>