Browse Source

Applied Zack's Creating Files patch

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2623 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 22 years ago
parent
commit
9503a7da97
2 changed files with 10 additions and 21 deletions
  1. 4 0
      chapter01/changelog.xml
  2. 6 21
      chapter06/createfiles.xml

+ 4 - 0
chapter01/changelog.xml

@@ -78,6 +78,10 @@
 </itemizedlist>
 </itemizedlist>
 </para></listitem>
 </para></listitem>
 
 
+<listitem><para>May 15th, 2003 [winkie]: Chapter 06 - Creating Files: All
+those <userinput>ln</userinput> commands can be made into a few long ln
+commands.</para></listitem>
+
 <listitem><para>May 15th, 2003 [winkie]: Chapter 05 - Installing
 <listitem><para>May 15th, 2003 [winkie]: Chapter 05 - Installing
 Glibc: Create an ld.so.conf file before building Glibc, to prevent an
 Glibc: Create an ld.so.conf file before building Glibc, to prevent an
 (harmless) error.</para></listitem>
 (harmless) error.</para></listitem>

+ 6 - 21
chapter06/createfiles.xml

@@ -7,27 +7,12 @@ order to satisfy these programs, we create a number of symbolic links which
 will be replaced by real files throughout the course of this chapter when
 will be replaced by real files throughout the course of this chapter when
 we're installing all the software.</para>
 we're installing all the software.</para>
 
 
-<para><screen><userinput>ln -sf /stage1/bin/bash /bin
-ln -sf bash /bin/sh
-ln -sf /stage1/bin/pwd /bin
-ln -sf /stage1/bin/perl /usr/bin
-ln -sf /stage1/bin/cat /bin
-ln -sf /stage1/bin/stty /bin
-ln -sf /stage1/bin/msgfmt /usr/bin
-ln -sf /stage1/bin/xgettext /usr/bin
-ln -sf /stage1/bin/msgmerge /usr/bin
-ln -sf /stage1/bin/install /usr/bin
-ln -sf /usr/bin/install /bin
-ln -sf /stage1/bin/echo /bin
-ln -sf /stage1/bin/sed /bin
-ln -sf /stage1/bin/awk /bin
-ln -sf /stage1/bin/rm /bin
-ln -sf /stage1/bin/mv /bin
-ln -sf /stage1/bin/chmod /bin
-ln -sf /stage1/bin/chgrp /bin
-ln -sf /stage1/bin/sort /usr/bin
-ln -sf /stage1/bin/cmp /usr/bin</userinput></screen></para>
-
+<para><screen><userinput>ln -s /stage1/bin/{bash,pwd,cat,stty,echo,sed} /bin
+ln -s /stage1/bin/{rm,mv,chmod,chgrp} /bin
+ln -s /stage1/bin/{perl,msgfmt,xgettext,msgmerge,install} /usr/bin
+ln -s /stage1/bin/{sort,gawk,cmp} /usr/bin
+ln -s bash /bin/sh
+ln -s ../usr/bin/install /bin</userinput></screen></para>
 
 
 </sect1>
 </sect1>