glfs/archive/ash.xml
Bruce Dubbs 556a307ab8 Move files to archive
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10188 af4574ff-66df-0310-9fd7-8a98e5e911e0
2012-05-12 21:08:45 +00:00

163 lines
5.0 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY ash-download-http " ">
<!ENTITY ash-download-ftp "ftp://slackware.mirrors.tds.net/pub/slackware/slackware_source/ap/ash/ash-&ash-version;.tar.gz">
<!ENTITY ash-md5sum "1c59f5b62a081cb0cb3b053c01d79529">
<!ENTITY ash-size "118 KB">
<!ENTITY ash-buildsize "2.2 MB">
<!ENTITY ash-time "less than 0.1 SBU">
]>
<sect1 id="ash" xreflabel="ASH-&ash-version;">
<?dbhtml filename="ash.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>ASH-&ash-version;</title>
<indexterm zone="ash">
<primary sortas="a-ASH">ASH</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to ASH</title>
<para><command>ash</command> is a shell that is the most compliant with
the Bourne Shell (not to be confused with Bourne Again SHell i.e.,
<application>Bash</application> installed in LFS) without any additional
features. Bourne Shell is available on most commercial UNIX systems.
Hence <command>ash</command> is useful for testing scripts to be
<command>sh</command>-compliant. It also has small memory and space
requirements compared to the other <command>sh</command>-compliant
shells.</para>
<caution>
<para><application>Ash</application> has problems with command line
editing in multibyte locales. The issue is discussed in more detail
in the <xref linkend="locale-wrong-multibyte-characters"/> section
of the <xref linkend="locale-issues"/> page.</para>
</caution>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&ash-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&ash-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &ash-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &ash-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &ash-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &ash-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>Required Patch: <ulink
url="&patch-root;/ash-&ash-version;-cumulative_fixes-2.patch"/></para>
</listitem>
</itemizedlist>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/ash"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of ASH</title>
<para>Install <application>ASH</application> by running the following
commands:</para>
<screen><userinput>patch -Np1 -i ../ash-0.4.0-cumulative_fixes-2.patch &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>install -v -m 755 sh /bin/ash &amp;&amp;
install -v -m 644 sh.1 /usr/share/man/man1/ash.1</userinput></screen>
<para>If you would like to make <command>ash</command> the default
<command>sh</command> shell, make a symlink.</para>
<screen role="root"><userinput>ln -v -sf ash /bin/sh</userinput></screen>
</sect2>
<sect2 role="configuration">
<title>Configuring ASH</title>
<sect3 id="ash-config">
<title>Config Files</title>
<para><application>ASH</application> sources
<filename>/etc/profile</filename> and
<filename>$HOME/.profile</filename></para>
<indexterm zone="ash ash-config">
<primary sortas="e-etc-profile">/etc/profile</primary>
</indexterm>
<indexterm zone="ash ash-config">
<primary sortas="e-AHOME-.profile">$HOME/.profile</primary>
</indexterm>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>ash</seg>
<seg>None</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Description</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="ash-prog">
<term><command>ash</command></term>
<listitem>
<para>is a <command>sh</command>-compliant shell.</para>
<indexterm zone="ash ash-prog">
<primary sortas="b-ash">ash</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>