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