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