diff options
author | Mark Hymers <markh@linuxfromscratch.org> | 2001-08-07 18:57:11 +0000 |
---|---|---|
committer | Mark Hymers <markh@linuxfromscratch.org> | 2001-08-07 18:57:11 +0000 |
commit | 8cc93ffc54a04e2bb9becbf3f7856a20056bf722 (patch) | |
tree | e735ed9d347e62cf1893fa801a3b701bb256ac90 /chapter06/shadowpwd-inst.xml | |
parent | ecdbe9374913f02adc5e3f976228d86947b5a4c4 (diff) |
better sed command
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@926 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/shadowpwd-inst.xml')
-rw-r--r-- | chapter06/shadowpwd-inst.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml index 3a3d59644..a0921ba07 100644 --- a/chapter06/shadowpwd-inst.xml +++ b/chapter06/shadowpwd-inst.xml @@ -5,7 +5,7 @@ following commands:</para> <para><screen><userinput>mv src/useradd.c useradd.c.temp &&</userinput> -<userinput>sed 's/\(.*\) (nflg || \(.*\)/\1\(\2/' useradd.c.temp > src/useradd.c &&</userinput> +<userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' useradd.c.temp > src/useradd.c &&</userinput> <userinput>./configure --prefix=/usr &&</userinput> <userinput>make &&</userinput> <userinput>make install &&</userinput> |