[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 |
|
---|
[0aeb696] | 7 | <!-- Inserted as a reminder to do this. The mention of a test suite
|
---|
| 8 | is usually right before the root user installation commands. Please
|
---|
| 9 | delete these 12 (including one blank) lines after you are done.-->
|
---|
| 10 |
|
---|
| 11 | <!-- Use one of the two mentions below about a test suite,
|
---|
| 12 | delete the line that is not applicable. Of course, if the
|
---|
| 13 | test suite uses syntax other than "make check", revise the
|
---|
| 14 | line to reflect the actual syntax to run the test suite -->
|
---|
| 15 |
|
---|
| 16 | <!-- <para>This package does not come with a test suite.</para> -->
|
---|
| 17 | <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
|
---|
| 18 |
|
---|
[f39a33c] | 19 | <!ENTITY ash-download-http " ">
|
---|
[89eb3f6b] | 20 | <!ENTITY ash-download-ftp "ftp://distro.ibiblio.org/pub/linux/distributions/slackware/slackware_source/ap/ash/ash-&ash-version;.tar.gz">
|
---|
| 21 | <!ENTITY ash-md5sum "1c59f5b62a081cb0cb3b053c01d79529">
|
---|
| 22 | <!ENTITY ash-size "118 KB">
|
---|
| 23 | <!ENTITY ash-buildsize "2.2 MB">
|
---|
| 24 | <!ENTITY ash-time "less than 0.1 SBU">
|
---|
[44f085a] | 25 | ]>
|
---|
| 26 |
|
---|
[0b5a693] | 27 | <sect1 id="ash" xreflabel="ASH-&ash-version;">
|
---|
[f39a33c] | 28 | <?dbhtml filename="ash.html"?>
|
---|
| 29 |
|
---|
| 30 | <sect1info>
|
---|
| 31 | <othername>$LastChangedBy$</othername>
|
---|
| 32 | <date>$Date$</date>
|
---|
| 33 | </sect1info>
|
---|
| 34 |
|
---|
| 35 | <title>ASH-&ash-version;</title>
|
---|
| 36 |
|
---|
| 37 | <indexterm zone="ash">
|
---|
| 38 | <primary sortas="a-ASH">ASH</primary>
|
---|
| 39 | </indexterm>
|
---|
| 40 |
|
---|
| 41 | <sect2 role="package">
|
---|
| 42 | <title>Introduction to ASH</title>
|
---|
| 43 |
|
---|
| 44 | <para><command>ash</command> is a shell that is the most compliant with
|
---|
| 45 | the Bourne Shell (not to be confused with Bourne Again SHell i.e.,
|
---|
| 46 | <application>Bash</application> installed in LFS) without any additional
|
---|
| 47 | features. Bourne Shell is available on most commercial UNIX systems.
|
---|
| 48 | Hence <command>ash</command> is useful for testing scripts to be
|
---|
[a4e5c39] | 49 | <command>sh</command>-compliant. It also has small memory and space
|
---|
[f39a33c] | 50 | requirements compared to the other <command>sh</command>-compliant
|
---|
| 51 | shells.</para>
|
---|
| 52 |
|
---|
| 53 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 54 | <itemizedlist spacing="compact">
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Download (HTTP): <ulink url="&ash-download-http;"/></para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Download (FTP): <ulink url="&ash-download-ftp;"/></para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Download MD5 sum: &ash-md5sum;</para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>Download size: &ash-size;</para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>Estimated disk space required: &ash-buildsize;</para>
|
---|
| 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
| 71 | <para>Estimated build time: &ash-time;</para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 76 | <itemizedlist spacing='compact'>
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>Required Patch: <ulink
|
---|
[59ddef1] | 79 | url="&patch-root;/ash-&ash-version;-cumulative_fixes-2.patch"/></para>
|
---|
[f39a33c] | 80 | </listitem>
|
---|
| 81 | </itemizedlist>
|
---|
| 82 |
|
---|
[3597eb6] | 83 | <para condition="html" role="usernotes">User Notes:
|
---|
| 84 | <ulink url="&blfs-wiki;/ash"/></para>
|
---|
| 85 |
|
---|
[f39a33c] | 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2 role="installation">
|
---|
| 89 | <title>Installation of ASH</title>
|
---|
| 90 |
|
---|
| 91 | <para>Install <application>ASH</application> by running the following
|
---|
| 92 | commands:</para>
|
---|
| 93 |
|
---|
[89eb3f6b] | 94 | <screen><userinput>patch -Np1 -i ../ash-0.4.0-cumulative_fixes-2.patch &&
|
---|
[f39a33c] | 95 | make</userinput></screen>
|
---|
| 96 |
|
---|
| 97 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 98 |
|
---|
[a4e5c39] | 99 | <screen role="root"><userinput>install -v -m 755 sh /bin/ash &&
|
---|
| 100 | install -v -m 644 sh.1 /usr/share/man/man1/ash.1</userinput></screen>
|
---|
[f39a33c] | 101 |
|
---|
| 102 | <para>If you would like to make <command>ash</command> the default
|
---|
[89eb3f6b] | 103 | <command>sh</command> shell, make a symlink.</para>
|
---|
[f39a33c] | 104 |
|
---|
| 105 | <screen role="root"><userinput>ln -v -sf ash /bin/sh</userinput></screen>
|
---|
| 106 |
|
---|
| 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="configuration">
|
---|
| 110 | <title>Configuring ASH</title>
|
---|
| 111 |
|
---|
| 112 | <sect3 id="ash-config">
|
---|
| 113 | <title>Config Files</title>
|
---|
| 114 |
|
---|
| 115 | <para><application>ASH</application> sources
|
---|
| 116 | <filename>/etc/profile</filename> and
|
---|
| 117 | <filename>$HOME/.profile</filename></para>
|
---|
| 118 |
|
---|
| 119 | <indexterm zone="ash ash-config">
|
---|
| 120 | <primary sortas="e-etc-profile">/etc/profile</primary>
|
---|
| 121 | </indexterm>
|
---|
| 122 |
|
---|
| 123 | <indexterm zone="ash ash-config">
|
---|
| 124 | <primary sortas="e-AHOME-.profile">$HOME/.profile</primary>
|
---|
| 125 | </indexterm>
|
---|
| 126 |
|
---|
| 127 | </sect3>
|
---|
| 128 |
|
---|
| 129 | </sect2>
|
---|
| 130 |
|
---|
| 131 | <sect2 role="content">
|
---|
| 132 | <title>Contents</title>
|
---|
| 133 |
|
---|
| 134 | <segmentedlist>
|
---|
| 135 | <segtitle>Installed Program</segtitle>
|
---|
| 136 | <segtitle>Installed Libraries</segtitle>
|
---|
| 137 | <segtitle>Installed Directories</segtitle>
|
---|
| 138 |
|
---|
| 139 | <seglistitem>
|
---|
| 140 | <seg>ash</seg>
|
---|
| 141 | <seg>None</seg>
|
---|
| 142 | <seg>None</seg>
|
---|
| 143 | </seglistitem>
|
---|
| 144 | </segmentedlist>
|
---|
| 145 |
|
---|
| 146 | <variablelist>
|
---|
| 147 | <bridgehead renderas="sect3">Short Description</bridgehead>
|
---|
| 148 | <?dbfo list-presentation="list"?>
|
---|
| 149 | <?dbhtml list-presentation="table"?>
|
---|
| 150 |
|
---|
| 151 | <varlistentry id="ash-prog">
|
---|
| 152 | <term><command>ash</command></term>
|
---|
| 153 | <listitem>
|
---|
| 154 | <para>is a <command>sh</command>-compliant shell.</para>
|
---|
| 155 | <indexterm zone="ash ash-prog">
|
---|
| 156 | <primary sortas="b-ash">ash</primary>
|
---|
| 157 | </indexterm>
|
---|
| 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
| 160 |
|
---|
| 161 | </variablelist>
|
---|
[a245e6d1] | 162 |
|
---|
[f39a33c] | 163 | </sect2>
|
---|
[a245e6d1] | 164 |
|
---|
[f39a33c] | 165 | </sect1>
|
---|