mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 18:02:12 +08:00
518538fb6d
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3244 af4574ff-66df-0310-9fd7-8a98e5e911e0
101 lines
3.1 KiB
XML
101 lines
3.1 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY ash-version "0.4.0">
|
|
<!ENTITY ash-download-http " ">
|
|
<!ENTITY ash-download-ftp "ftp://distro.ibiblio.org/pub/Linux/distributions/slackware/slackware_source/ap/ash/ash-&ash-version;.tar.gz">
|
|
<!ENTITY ash-size "118 KB">
|
|
<!ENTITY ash-buildsize "2.7 MB">
|
|
<!ENTITY ash-time "0.06 SBU">
|
|
|
|
]>
|
|
|
|
<sect1 id="ash" xreflabel="ASH-&ash-version;">
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
<?dbhtml filename="ash.html"?>
|
|
<title>ASH-&ash-version;</title>
|
|
|
|
<sect2>
|
|
<title>Introduction to <application>ASH</application></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 <acronym>LFS</acronym>) without any additional features.
|
|
Bourne Shell is available on most commercial
|
|
<acronym>UNIX</acronym> systems. Hence <command>ash</command> is useful for testing
|
|
scripts to be <command>sh</command>-compliant. It also has a small memory and space requirements
|
|
compared to the other <command>sh</command>-compliant shells.</para>
|
|
|
|
<sect3><title>Package information</title>
|
|
<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 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>
|
|
</sect3>
|
|
|
|
<sect3><title>Additional downloads</title>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>Required Patch: <ulink
|
|
url="&patch-root;/ash-&ash-version;-cumulative_fixes-1.patch"/></para></listitem>
|
|
</itemizedlist>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <application>ASH</application></title>
|
|
|
|
<para>Install <application>ASH</application> by running the following commands:</para>
|
|
|
|
<screen><userinput><command>patch -Np1 -i ../ash-0.4.0-cumulative_fixes-1.patch &&
|
|
make &&
|
|
install -m 755 sh /bin/ash &&
|
|
install -m 644 sh.1 /usr/share/man/man1/ash.1</command></userinput></screen>
|
|
|
|
<para>If you would like to make <command>ash</command> the default sh shell, make a symlink.</para>
|
|
|
|
<screen><userinput><command>ln -sf ash /bin/sh</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Configuring <application>ASH</application></title>
|
|
|
|
<sect3><title>Config files</title>
|
|
<para><application>ASH</application> sources <filename>/etc/profile</filename>
|
|
and <filename>$HOME/.profile</filename></para>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Contents</title>
|
|
|
|
<para>The <application>ASH</application> package contains <command>ash</command>,
|
|
a <command>sh</command> compliant shell.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
<sect3><title>ash</title>
|
|
<para><command>ash</command> is a <command>sh</command>-compliant shell.</para>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
|
|