From 81fd230419b0cfd052b08fc1ed352bb7d49975df Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sat, 19 Feb 2005 22:16:42 +0000 Subject: Trunk is now identical to Testing git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4648 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/bash.xml | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 68 insertions(+), 5 deletions(-) (limited to 'chapter06/bash.xml') diff --git a/chapter06/bash.xml b/chapter06/bash.xml index 8803aad6a..b7c459f1e 100644 --- a/chapter06/bash.xml +++ b/chapter06/bash.xml @@ -3,13 +3,14 @@ %general-entities; ]> - + Bash-&bash-version; Bash +<para>The Bash package contains the Bourne-Again SHell.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> @@ -17,16 +18,24 @@ <seglistitem><seg>1.2 SBU</seg><seg>27 MB</seg></seglistitem> </segmentedlist> +<segmentedlist> +<segtitle>Bash installation depends on</segtitle> +<seglistitem><seg>Binutils, Coreutils, Diffutils, Gawk, +GCC, Glibc, Grep, Make, Ncurses, and Sed.</seg></seglistitem> +</segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Bash -Apply a patch: + +The following patch fixes various issues, including a problem where Bash +will sometimes only show 33 characters on a line, then wrap to the next: patch -Np1 -i ../bash-&bash-version;-fixes-1.patch -Apply another patch: +Bash also has issues when compiled against newer versions of Glibc. The +following patch resolves this problem: patch -Np1 -i ../bash-&bash-version;-avoid_WCONTINUED-1.patch @@ -35,6 +44,17 @@ ./configure --prefix=/usr --bindir=/bin \ --without-bash-malloc --with-installed-readline +The meaning of the configure option: + + + +--with-installed-readline +This options tells Bash to use the +readline library that is already installed +on the system rather than using its own readline version. + + + Compile the package: make @@ -46,17 +66,60 @@ make install -Run the newly compiled bash program: +Run the newly compiled bash program (replacing the one that is +currently being executed): exec /bin/bash --login +h +The parameters used make the bash +process an interactive login shell and continue to disable hashing so +that new programs are found as they become available. + Contents of Bash -See testing + +Installed programs +bash, bashbug, and sh (link to bash) + + +Short Descriptions + + + +bash + +A widely-used command interpreter; it performs many types of +expansions and substitutions on a given command line before executing +it, thus making this interpreter a powerful tool +bash + + + + +bashbug + +A shell script to help the user compose and mail bug reports +concerning bash in a standard format +bashbug + + + + +sh + +A symlink to the bash program; when invoked +as sh, bash tries to mimic the +startup behavior of historical versions of sh as +closely as possible, while conforming to the POSIX standard as well +sh + + + + -- cgit v1.2.3-54-g00ecf