We are all familiar with the Bourne Again SHell, but there are two other user interfaces that are considered useful modern shells – the Berkeley Unix C shell and the Korn shell. This chapter installs packages compatible with these additional shell types.
ash is a shell that is the most compliant with the Bourne Shell (not to be confused with Bourne Again SHell i.e., Bash installed in LFS) without any additional features. Bourne Shell is available on most commercial UNIX systems. Hence ash is useful for testing scripts to be sh-compliant. It also has small memory and space requirements compared to the other sh-compliant shells.
Download MD5 sum: 1c59f5b62a081cb0cb3b053c01d79529
Download size: 118 KB
Estimated disk space required: 2.2 MB
Estimated build time: less than 0.1 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/ash
Install ASH by running the following commands:
patch -Np1 -i ../ash-0.4.0-cumulative_fixes-2.patch && make
This package does not come with a test suite.
Now, as the root user:
install -v -m 755 sh /bin/ash && install -v -m 644 sh.1 /usr/share/man/man1/ash.1
If you would like to make ash the default sh shell, make a symlink.
ln -v -sf ash /bin/sh
Last updated on 2007-02-02 05:00:08 -0600