From 0c9661dc834fe89f30d2c0515775e5dfe3ac63a4 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Wed, 8 Aug 2001 10:16:43 +0000 Subject: man patch --> sed git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@931 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/shadowpwd-inst.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chapter06/shadowpwd-inst.xml') 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 @@ Install the Shadow Password Suite by running the following commands: -mv src/useradd.c useradd.c.temp && -sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' useradd.c.temp > src/useradd.c && + +sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' src/useradd.c > useradd.c.temp && +mv useradd.c.temp src/useradd.c && ./configure --prefix=/usr && make && make install && -- cgit v1.2.3-54-g00ecf