From 673b0d84ba9591e07c0bdf0ee49d92eba10f502c Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Mon, 3 May 2004 10:59:46 +0000 Subject: * Merged newxml into HEAD git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/bash.xml | 68 ++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 53 insertions(+), 15 deletions(-) (limited to 'chapter06/bash.xml') diff --git a/chapter06/bash.xml b/chapter06/bash.xml index aa38ef855..af2acf4b5 100644 --- a/chapter06/bash.xml +++ b/chapter06/bash.xml @@ -1,25 +1,32 @@ + + + %general-entities; +]> -Installing Bash-&bash-version; - +Bash-&bash-version; + + +Bash The Bash package contains the Bourne-Again SHell. -&buildtime; &bash-time; -&diskspace; &bash-compsize; +Approximate build time: 1.2 SBU +Required disk space: 27 MB + +Bash installation depends on: Binutils, Coreutils, Diffutils, Gawk, +GCC, Glibc, Grep, Make, Ncurses, Sed. -&aa-bash-down; -&aa-bash-dep; -   Installation of Bash Bash has a number of bugs in it that cause it to not behave the -way it is expected at times. Fix this behaviour with the following +way it is expected at times. Fix this behavior with the following patch: -patch -Np1 -i ../&bash-patch; +patch -Np1 -i ../bash-&bash-version;-2.patch Now prepare Bash for compilation: @@ -29,21 +36,52 @@ patch: make -To have the results tested, issue: +To test the results, issue: make tests. Install the package: make install -And reload the newly compiled bash program: +Now run the newly compiled bash program (replacing the one you are currently executing): + +exec /bin/bash --login +h -exec /bin/bash +h +Note that the parameters used make it an interactive login instance +(so /etc/profile is read, if it exists, and the first found +~/.bash_profile, ~/.bash_login or and ~/.profile) and continue to +disable hashing so that new programs are found as they become +available. -&aa-bash-shortdesc; -&aa-bash-desc; - +Contents of Bash + +Installed programs: bash, sh (link to bash) and +bashbug + + + + +Short descriptions +bash +bash is a widely-used command interpreter. It +performs many kinds of expansions and substitutions on a given command line +before executing it, thus making this interpreter a powerful tool. + +bashbug +bashbug is a shell script to help the user +compose and mail bug reports concerning bash in a standard format. + +sh +sh is 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. + + + + + + -- cgit v1.2.3-54-g00ecf