Estimated build time: 1.2 SBU Estimated required disk space: 27 MB
bash is the Bourne-Again SHell, which is a widely used command interpreter on Unix systems. The bash program reads from standard input (the keyboard). A user types something and the program will evaluate what he has typed and do something with it, like running a program.
Installed programs: bash, sh (link to bash) and bashbug
Bash depends on: Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Ncurses, Sed.
Bash contains several known bugs. Fix these with the following patch:
patch -Np1 -i ../bash-2.05b-2.patch
Now prepare Bash for compilation:
Compile the program:
This package has a test suite available which can perform a number of checks to ensure it built correctly. Should you choose to run it, the following command will do so:
Then install it and its documentation:
And make a link for the programs that use sh for a shell:
ln -s bash /tools/bin/sh