[44f085a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY ash-version "0.4.0">
|
---|
| 8 | <!ENTITY ash-download-http " ">
|
---|
| 9 | <!ENTITY ash-download-ftp "ftp://distro.ibiblio.org/pub/Linux/distributions/slackware/slackware_source/ap/ash/ash-&ash-version;.tar.gz">
|
---|
| 10 | <!ENTITY ash-size "118 KB">
|
---|
| 11 | <!ENTITY ash-buildsize "2.7 MB">
|
---|
| 12 | <!ENTITY ash-time "0.06 SBU">
|
---|
| 13 |
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
[a245e6d1] | 16 | <sect1 id="ash" xreflabel="ASH-&ash-version;">
|
---|
[a0f03b0] | 17 | <sect1info>
|
---|
[5cd0959d] | 18 | <othername>$LastChangedBy$</othername>
|
---|
| 19 | <date>$Date$</date>
|
---|
[a0f03b0] | 20 | </sect1info>
|
---|
[bae6e15] | 21 | <?dbhtml filename="ash.html"?>
|
---|
[a245e6d1] | 22 | <title>ASH-&ash-version;</title>
|
---|
| 23 |
|
---|
[44f085a] | 24 | <sect2>
|
---|
| 25 | <title>Introduction to <application>ASH</application></title>
|
---|
| 26 |
|
---|
| 27 | <para><command>ash</command> is a shell that is the most compliant with the
|
---|
| 28 | Bourne Shell (not to be confused with Bourne Again SHell i.e., <application>Bash</application>
|
---|
| 29 | installed in <acronym>LFS</acronym>) without any additional features.
|
---|
| 30 | Bourne Shell is available on most commercial
|
---|
| 31 | <acronym>UNIX</acronym> systems. Hence <command>ash</command> is useful for testing
|
---|
| 32 | scripts to be <command>sh</command>-compliant. It also has a small memory and space requirements
|
---|
| 33 | compared to the other <command>sh</command>-compliant shells.</para>
|
---|
| 34 |
|
---|
| 35 | <sect3><title>Package information</title>
|
---|
| 36 | <itemizedlist spacing='compact'>
|
---|
| 37 | <listitem><para>Download (HTTP): <ulink
|
---|
| 38 | url="&ash-download-http;"/></para></listitem>
|
---|
| 39 | <listitem><para>Download (FTP): <ulink
|
---|
| 40 | url="&ash-download-ftp;"/></para></listitem>
|
---|
| 41 | <listitem><para>Download size: &ash-size;</para></listitem>
|
---|
| 42 | <listitem><para>Estimated Disk space required:
|
---|
| 43 | &ash-buildsize;</para></listitem>
|
---|
| 44 | <listitem><para>Estimated build time:
|
---|
| 45 | &ash-time;</para></listitem></itemizedlist>
|
---|
| 46 | </sect3>
|
---|
| 47 |
|
---|
| 48 | <sect3><title>Additional downloads</title>
|
---|
| 49 | <itemizedlist spacing='compact'>
|
---|
[07b157f4] | 50 | <listitem><para>Required Patch: <ulink
|
---|
| 51 | url="&patch-root;/ash-&ash-version;-cumulative_fixes-1.patch"/></para></listitem>
|
---|
[44f085a] | 52 | </itemizedlist>
|
---|
| 53 | </sect3>
|
---|
| 54 |
|
---|
| 55 | </sect2>
|
---|
| 56 |
|
---|
| 57 | <sect2>
|
---|
| 58 | <title>Installation of <application>ASH</application></title>
|
---|
| 59 |
|
---|
| 60 | <para>Install <application>ASH</application> by running the following commands:</para>
|
---|
| 61 |
|
---|
| 62 | <screen><userinput><command>patch -Np1 -i ../ash-0.4.0-cumulative_fixes-1.patch &&
|
---|
| 63 | make &&
|
---|
| 64 | install -m 755 sh /bin/ash &&
|
---|
| 65 | install -m 644 sh.1 /usr/share/man/man1/ash.1</command></userinput></screen>
|
---|
| 66 |
|
---|
| 67 | <para>If you would like to make <command>ash</command> the default sh shell, make a symlink.</para>
|
---|
| 68 |
|
---|
| 69 | <screen><userinput><command>ln -sf ash /bin/sh</command></userinput></screen>
|
---|
| 70 |
|
---|
| 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2>
|
---|
| 74 | <title>Configuring <application>ASH</application></title>
|
---|
| 75 |
|
---|
| 76 | <sect3><title>Config files</title>
|
---|
| 77 | <para><application>ASH</application> sources <filename>/etc/profile</filename>
|
---|
| 78 | and <filename>$HOME/.profile</filename></para>
|
---|
| 79 | </sect3>
|
---|
| 80 |
|
---|
| 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2>
|
---|
| 84 | <title>Contents</title>
|
---|
| 85 |
|
---|
| 86 | <para>The <application>ASH</application> package contains <command>ash</command>,
|
---|
| 87 | a <command>sh</command> compliant shell.</para>
|
---|
| 88 |
|
---|
| 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2><title>Description</title>
|
---|
| 92 |
|
---|
| 93 | <sect3><title>ash</title>
|
---|
| 94 | <para><command>ash</command> is a <command>sh</command>-compliant shell.</para>
|
---|
| 95 | </sect3>
|
---|
| 96 |
|
---|
| 97 | </sect2>
|
---|
[a245e6d1] | 98 |
|
---|
| 99 | </sect1>
|
---|
| 100 |
|
---|