[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">
|
---|
[97b53b5] | 11 | <!ENTITY ash-buildsize "2.2 MB">
|
---|
[44f085a] | 12 | <!ENTITY ash-time "0.06 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
[97b53b5] | 15 | <sect1 id="ash-package" xreflabel="ASH-&ash-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[bae6e15] | 20 | <?dbhtml filename="ash.html"?>
|
---|
[a245e6d1] | 21 | <title>ASH-&ash-version;</title>
|
---|
[97b53b5] | 22 | <indexterm zone="ash-package">
|
---|
[0cd6d67] | 23 | <primary sortas="a-ASH-package">ASH</primary></indexterm>
|
---|
[a245e6d1] | 24 |
|
---|
[44f085a] | 25 | <sect2>
|
---|
| 26 | <title>Introduction to <application>ASH</application></title>
|
---|
| 27 |
|
---|
[97b53b5] | 28 | <para><command>ash</command> is a shell that is the most compliant with the
|
---|
| 29 | Bourne Shell (not to be confused with Bourne Again SHell i.e.,
|
---|
| 30 | <application>Bash</application> installed in <acronym>LFS</acronym>) without
|
---|
| 31 | any additional features. Bourne Shell is available on most commercial
|
---|
| 32 | <acronym>UNIX</acronym> systems. Hence <command>ash</command> is useful for
|
---|
| 33 | testing scripts to be <command>sh</command>-compliant. It also has a small
|
---|
| 34 | memory and space requirements compared to the other
|
---|
| 35 | <command>sh</command>-compliant shells.</para>
|
---|
[44f085a] | 36 |
|
---|
| 37 | <sect3><title>Package information</title>
|
---|
| 38 | <itemizedlist spacing='compact'>
|
---|
| 39 | <listitem><para>Download (HTTP): <ulink
|
---|
| 40 | url="&ash-download-http;"/></para></listitem>
|
---|
| 41 | <listitem><para>Download (FTP): <ulink
|
---|
| 42 | url="&ash-download-ftp;"/></para></listitem>
|
---|
| 43 | <listitem><para>Download size: &ash-size;</para></listitem>
|
---|
[518538f] | 44 | <listitem><para>Estimated disk space required:
|
---|
[44f085a] | 45 | &ash-buildsize;</para></listitem>
|
---|
| 46 | <listitem><para>Estimated build time:
|
---|
| 47 | &ash-time;</para></listitem></itemizedlist>
|
---|
| 48 | </sect3>
|
---|
| 49 |
|
---|
| 50 | <sect3><title>Additional downloads</title>
|
---|
| 51 | <itemizedlist spacing='compact'>
|
---|
[07b157f4] | 52 | <listitem><para>Required Patch: <ulink
|
---|
[97b53b5] | 53 | url="&patch-root;/ash-&ash-version;-cumulative_fixes-1.patch"/></para>
|
---|
| 54 | </listitem>
|
---|
[44f085a] | 55 | </itemizedlist>
|
---|
| 56 | </sect3>
|
---|
| 57 |
|
---|
| 58 | </sect2>
|
---|
| 59 |
|
---|
| 60 | <sect2>
|
---|
| 61 | <title>Installation of <application>ASH</application></title>
|
---|
| 62 |
|
---|
[97b53b5] | 63 | <para>Install <application>ASH</application> by running the following
|
---|
| 64 | commands:</para>
|
---|
[44f085a] | 65 |
|
---|
| 66 | <screen><userinput><command>patch -Np1 -i ../ash-0.4.0-cumulative_fixes-1.patch &&
|
---|
| 67 | make &&
|
---|
| 68 | install -m 755 sh /bin/ash &&
|
---|
| 69 | install -m 644 sh.1 /usr/share/man/man1/ash.1</command></userinput></screen>
|
---|
| 70 |
|
---|
[97b53b5] | 71 | <para>If you would like to make <command>ash</command> the default sh shell,
|
---|
| 72 | make a symlink.</para>
|
---|
[44f085a] | 73 |
|
---|
| 74 | <screen><userinput><command>ln -sf ash /bin/sh</command></userinput></screen>
|
---|
| 75 |
|
---|
| 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | <sect2>
|
---|
| 79 | <title>Configuring <application>ASH</application></title>
|
---|
| 80 |
|
---|
[40851cf] | 81 | <sect3 id="ash-config"><title>Config files</title>
|
---|
[97b53b5] | 82 | <para><application>ASH</application> sources
|
---|
[40851cf] | 83 | <filename>/etc/profile</filename> and
|
---|
| 84 | <filename>$HOME/.profile</filename></para>
|
---|
| 85 |
|
---|
| 86 | <indexterm zone="ash-package ash-config">
|
---|
[6a2bce2] | 87 | <primary sortas="e-etc-profile">/etc/profile</primary></indexterm>
|
---|
[40851cf] | 88 | <indexterm zone="ash-package ash-config">
|
---|
[6a2bce2] | 89 | <primary sortas="e-AHOME-.profile">$HOME/.profile</primary></indexterm>
|
---|
[44f085a] | 90 | </sect3>
|
---|
| 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2>
|
---|
| 95 | <title>Contents</title>
|
---|
[97b53b5] | 96 | <segmentedlist>
|
---|
| 97 | <segtitle>Installed Program</segtitle>
|
---|
| 98 | <seglistitem>
|
---|
| 99 | <seg>ash</seg>
|
---|
| 100 | </seglistitem>
|
---|
| 101 | </segmentedlist>
|
---|
| 102 |
|
---|
| 103 | <variablelist>
|
---|
[2ba7d12] | 104 | <bridgehead renderas="sect3">Short Description</bridgehead>
|
---|
[97b53b5] | 105 | <?dbfo list-presentation="list"?>
|
---|
| 106 |
|
---|
| 107 | <varlistentry id="ash">
|
---|
| 108 | <term><command>ash</command></term>
|
---|
| 109 | <listitem><para>is a <command>sh</command>-compliant shell.</para>
|
---|
| 110 | <indexterm zone="ash-package ash">
|
---|
| 111 | <primary sortas="b-ash">ash</primary></indexterm>
|
---|
| 112 | </listitem>
|
---|
| 113 | </varlistentry>
|
---|
| 114 | </variablelist>
|
---|
[44f085a] | 115 |
|
---|
| 116 | </sect2>
|
---|
[a245e6d1] | 117 |
|
---|
| 118 | </sect1>
|
---|
| 119 |
|
---|