Przeglądaj źródła

Updated the reason for the /bin/sh symlink

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@78 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 24 lat temu
rodzic
commit
0154b8b6a7
1 zmienionych plików z 4 dodań i 5 usunięć
  1. 4 5
      chapter05/bash-static-exp.sgml

+ 4 - 5
chapter05/bash-static-exp.sgml

@@ -35,11 +35,10 @@ is becoming obsolete.
 
 <para>
 <userinput>ln -s bash sh:</userinput> This command creates the sh
-symlink that points to bash. Most scripts run themselves via 'sh'; sh
-being a symlink to the default system shell. Because programs and
-scripts don't know what shell you use by default (could be bash, ksh,
-korn, tch, csh and others) they use the common symlink sh which, if the 
-system is properly setup, always points to the system's default shell.
+symlink that points to bash. Most scripts run themselves via 'sh'
+(invoked by the #!/bin/sh as the first line in the scripts) which
+invokes a special bash mode. Bash will then behave (as closely as
+possible) as the original Bourne shell.
 </para>
 
 <para>