aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/shadowpwd-inst.xml
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-08-08 10:16:43 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-08-08 10:16:43 +0000
commit0c9661dc834fe89f30d2c0515775e5dfe3ac63a4 (patch)
treee8c12502efcdf5fa2a57c1cf657e3c7dc47c773b /chapter06/shadowpwd-inst.xml
parent354f0a18bcf3835f5d5e99fdabd1fd9be82d0f3e (diff)
man patch --> sed
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@931 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/shadowpwd-inst.xml')
-rw-r--r--chapter06/shadowpwd-inst.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml
index a0921ba07..edcddfad4 100644
--- a/chapter06/shadowpwd-inst.xml
+++ b/chapter06/shadowpwd-inst.xml
@@ -4,8 +4,9 @@
<para>Install the Shadow Password Suite by running the
following commands:</para>
-<para><screen><userinput>mv src/useradd.c useradd.c.temp &amp;&amp;</userinput>
-<userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' useradd.c.temp &gt; src/useradd.c &amp;&amp;</userinput>
+
+<para><screen><userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' 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>
<userinput>make install &amp;&amp;</userinput>