Difference between revisions of "ASH"

From CBLFS
Jump to navigationJump to search
 
(I added the package description from BLFS.)
Line 9: Line 9:
  
 
----
 
----
 +
 +
== Introduction to ASH ==
 +
 +
'''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 CLFS) 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.
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 22:36, 4 December 2006

Download Source: http://ftp.osuosl.org/pub/blfs/conglomeration/ash/ash-0.4.0.tar.bz2
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/ash/ash-0.4.0-cumulative_fixes-2.patch

Introduction to ASH

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 CLFS) 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.

Dependencies

Non-Multilib

Compile the package:

patch -Np1 -i ../ash-0.4.0-cumulative_fixes-2.patch &&
make

Install the package

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

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Compile the package:

patch -Np1 -i ../ash-0.4.0-cumulative_fixes-2.patch &&
make CC="gcc ${BUILD32}"

Install the package

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

N32

Compile the package:

patch -Np1 -i ../ash-0.4.0-cumulative_fixes-2.patch &&
make CC="gcc ${BUILDN32}"

Install the package

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

64Bit

Compile the package:

patch -Np1 -i ../ash-0.4.0-cumulative_fixes-2.patch &&
make CC="gcc ${BUILD64}"

Install the package

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
Retrieved from "?title=ASH&oldid=4362"