[44f085a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[44f085a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[f39a33c] | 7 | <!ENTITY ash-version "0.4.0">
|
---|
| 8 | <!ENTITY ash-download-http " ">
|
---|
[f556fc4] | 9 | <!ENTITY ash-download-ftp "ftp://distro.ibiblio.org/pub/linux/distributions/slackware/slackware_source/ap/ash/ash-&ash-version;.tar.gz">
|
---|
[f39a33c] | 10 | <!ENTITY ash-md5sum "1c59f5b62a081cb0cb3b053c01d79529">
|
---|
| 11 | <!ENTITY ash-size "118 KB">
|
---|
| 12 | <!ENTITY ash-buildsize "2.2 MB">
|
---|
| 13 | <!ENTITY ash-time "0.06 SBU">
|
---|
[44f085a] | 14 | ]>
|
---|
| 15 |
|
---|
[0b5a693] | 16 | <sect1 id="ash" xreflabel="ASH-&ash-version;">
|
---|
[f39a33c] | 17 | <?dbhtml filename="ash.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>ASH-&ash-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="ash">
|
---|
| 27 | <primary sortas="a-ASH">ASH</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to ASH</title>
|
---|
| 32 |
|
---|
| 33 | <para><command>ash</command> is a shell that is the most compliant with
|
---|
| 34 | the Bourne Shell (not to be confused with Bourne Again SHell i.e.,
|
---|
| 35 | <application>Bash</application> installed in LFS) without any additional
|
---|
| 36 | features. Bourne Shell is available on most commercial UNIX systems.
|
---|
| 37 | Hence <command>ash</command> is useful for testing scripts to be
|
---|
| 38 | <command>sh</command>-compliant. It also has a small memory and space
|
---|
| 39 | requirements compared to the other <command>sh</command>-compliant
|
---|
| 40 | shells.</para>
|
---|
| 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (HTTP): <ulink url="&ash-download-http;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download (FTP): <ulink url="&ash-download-ftp;"/></para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download MD5 sum: &ash-md5sum;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Download size: &ash-size;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated disk space required: &ash-buildsize;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>Estimated build time: &ash-time;</para>
|
---|
| 61 | </listitem>
|
---|
| 62 | </itemizedlist>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 65 | <itemizedlist spacing='compact'>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>Required Patch: <ulink
|
---|
| 68 | url="&patch-root;/ash-&ash-version;-cumulative_fixes-1.patch"/></para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
| 72 | </sect2>
|
---|
| 73 |
|
---|
| 74 | <sect2 role="installation">
|
---|
| 75 | <title>Installation of ASH</title>
|
---|
| 76 |
|
---|
| 77 | <para>Install <application>ASH</application> by running the following
|
---|
| 78 | commands:</para>
|
---|
| 79 |
|
---|
| 80 | <screen><userinput>patch -Np1 -i ../ash-0.4.0-cumulative_fixes-1.patch &&
|
---|
| 81 | make</userinput></screen>
|
---|
| 82 |
|
---|
| 83 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 84 |
|
---|
| 85 | <screen role="root"><userinput>install -m 755 sh /bin/ash &&
|
---|
| 86 | install -m 644 sh.1 /usr/share/man/man1/ash.1</userinput></screen>
|
---|
| 87 |
|
---|
| 88 | <para>If you would like to make <command>ash</command> the default
|
---|
| 89 | sh shell, make a symlink.</para>
|
---|
| 90 |
|
---|
| 91 | <screen role="root"><userinput>ln -v -sf ash /bin/sh</userinput></screen>
|
---|
| 92 |
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="configuration">
|
---|
| 96 | <title>Configuring ASH</title>
|
---|
| 97 |
|
---|
| 98 | <sect3 id="ash-config">
|
---|
| 99 | <title>Config Files</title>
|
---|
| 100 |
|
---|
| 101 | <para><application>ASH</application> sources
|
---|
| 102 | <filename>/etc/profile</filename> and
|
---|
| 103 | <filename>$HOME/.profile</filename></para>
|
---|
| 104 |
|
---|
| 105 | <indexterm zone="ash ash-config">
|
---|
| 106 | <primary sortas="e-etc-profile">/etc/profile</primary>
|
---|
| 107 | </indexterm>
|
---|
| 108 |
|
---|
| 109 | <indexterm zone="ash ash-config">
|
---|
| 110 | <primary sortas="e-AHOME-.profile">$HOME/.profile</primary>
|
---|
| 111 | </indexterm>
|
---|
| 112 |
|
---|
| 113 | </sect3>
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="content">
|
---|
| 118 | <title>Contents</title>
|
---|
| 119 |
|
---|
| 120 | <segmentedlist>
|
---|
| 121 | <segtitle>Installed Program</segtitle>
|
---|
| 122 | <segtitle>Installed Libraries</segtitle>
|
---|
| 123 | <segtitle>Installed Directories</segtitle>
|
---|
| 124 |
|
---|
| 125 | <seglistitem>
|
---|
| 126 | <seg>ash</seg>
|
---|
| 127 | <seg>None</seg>
|
---|
| 128 | <seg>None</seg>
|
---|
| 129 | </seglistitem>
|
---|
| 130 | </segmentedlist>
|
---|
| 131 |
|
---|
| 132 | <variablelist>
|
---|
| 133 | <bridgehead renderas="sect3">Short Description</bridgehead>
|
---|
| 134 | <?dbfo list-presentation="list"?>
|
---|
| 135 | <?dbhtml list-presentation="table"?>
|
---|
| 136 |
|
---|
| 137 | <varlistentry id="ash-prog">
|
---|
| 138 | <term><command>ash</command></term>
|
---|
| 139 | <listitem>
|
---|
| 140 | <para>is a <command>sh</command>-compliant shell.</para>
|
---|
| 141 | <indexterm zone="ash ash-prog">
|
---|
| 142 | <primary sortas="b-ash">ash</primary>
|
---|
| 143 | </indexterm>
|
---|
| 144 | </listitem>
|
---|
| 145 | </varlistentry>
|
---|
| 146 |
|
---|
| 147 | </variablelist>
|
---|
[a245e6d1] | 148 |
|
---|
[f39a33c] | 149 | </sect2>
|
---|
[a245e6d1] | 150 |
|
---|
[f39a33c] | 151 | </sect1>
|
---|