mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 21:49:13 +00:00
better sed command
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@926 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
ecdbe93749
commit
8cc93ffc54
@ -1,7 +1,7 @@
|
||||
<sect2>
|
||||
<title>Command explanations</title>
|
||||
|
||||
<para><userinput>sed 's/\(.*\) (nflg || \(.*\)/\1\(\2/' useradd.c.temp
|
||||
<para><userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' useradd.c.temp
|
||||
> 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>
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user