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