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