Estimated build time: 1.2 SBU Estimated required disk space: 27 MB |
(Last checked against version 2.05b.)
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
(Last checked against version 2.05a.)
Bash: bash, sh
Binutils: ar, as, ld, ranlib, size
Coreutils: basename, cat, chmod, cp, echo, expr, hostname, install,
ln, ls, mkdir, mv, rm, sleep, tr, uname, uniq
Diffutils: cmp
Gawk: awk
GCC: cc, cc1, collect2, cpp, gcc
Grep: egrep, grep
Make: make
Ncurses: (libraries)
Sed: sed
Texinfo: install-info
Bash contains several known bugs. Fix these with the following patch:
patch -Np1 -i ../bash-2.05b-2.patch |
Now prepare Bash for compilation:
./configure --prefix=/tools |
Compile the program:
make |
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:
make tests |
Then install it and its documentation:
make install |
And make a link for the programs that use sh for a shell:
ln -s bash /tools/bin/sh |