source: postlfs/shells/dash.xml@ 8bf1fa88

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8bf1fa88 was 8bf1fa88, checked in by Ag Hatzimanikas <ag@…>, 17 years ago

Updated to Dash-0.5.4

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6993 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY dash-download-http "http://gondor.apana.org.au/~herbert/dash/files/dash-&dash-version;.tar.gz">
8 <!ENTITY dash-download-ftp "">
9 <!ENTITY dash-md5sum "bc457e490a589d2f87f2333616b67931">
10 <!ENTITY dash-size "200 KB">
11 <!ENTITY dash-buildsize "1.8 MB">
12 <!ENTITY dash-time "0.1 SBU">
13
14]>
15
16<sect1 id="dash" xreflabel="Dash-&dash-version;">
17 <?dbhtml filename="dash.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>Dash-&dash-version;</title>
25
26 <indexterm zone="dash">
27 <primary sortas="a-Dash">Dash</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Dash</title>
32
33 <para><application>Dash</application> is a POSIX compliant shell. It can be
34 installed as /bin/sh or as the default shell for either <systemitem
35 class="username">root</systemitem> or a second user with a userid of 0. It
36 depends on fewer libraries than the <application>Bash</application> shell
37 and is therefore less likely to be affected by an upgrade problem or disk
38 failure. <application>Dash</application> is also useful for checking that
39 a script is completely compatible with POSIX syntax.</para>
40
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>Download (HTTP): <ulink url="&dash-download-http;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &dash-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &dash-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &dash-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &dash-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">Dash Dependencies</bridgehead>
62
63 <bridgehead renderas="sect4">Optional</bridgehead>
64 <para role="optional"><ulink url="http://www.thrysoee.dk/editline/">libedit</ulink>
65 (command line editor library)</para>
66
67 <para condition="html" role="usernotes">User Notes:
68 <ulink url="&blfs-wiki;/dash"/></para>
69
70 </sect2>
71
72 <sect2 role="installation">
73 <title>Installation of Dash</title>
74
75 <para>Install <application>Dash</application> by running the following
76 commands:</para>
77
78<screen><userinput>./configure --bindir=/bin --mandir=/usr/share/man &amp;&amp;
79make</userinput></screen>
80
81 <para>This package does not come with a test suite.</para>
82
83 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
84
85<screen role="root"><userinput>make install</userinput></screen>
86
87 <para>If you would like to make <command>dash</command> the default
88 <command>sh</command>, recreate the <filename>/bin/sh</filename>
89 symlink as the <systemitem class="username">root</systemitem> user:</para>
90
91<screen role="root"><userinput>ln -svf dash /bin/sh</userinput></screen>
92
93 </sect2>
94
95 <sect2 role="commands">
96 <title>Command Explanations</title>
97
98 <para><parameter>--bindir=/bin</parameter>: This parameter places the
99 <command>dash</command> binary into the root filesystem.</para>
100
101 <para><option>--with-libedit</option>: To compile <application>Dash</application>
102 with libedit support.</para>
103
104 </sect2>
105
106 <sect2 role="configuration">
107 <title>Configuring Dash</title>
108
109 <sect3 id="dash-config">
110 <title>Config Files</title>
111
112 <para><application>Dash</application> sources
113 <filename>/etc/profile</filename> and
114 <filename>$HOME/.profile</filename></para>
115
116 <indexterm zone="dash dash-config">
117 <primary sortas="e-etc-profile">/etc/profile</primary>
118 </indexterm>
119
120 <indexterm zone="dash dash-config">
121 <primary sortas="e-AHOME-.profile">$HOME/.profile</primary>
122 </indexterm>
123
124 </sect3>
125
126 <sect3>
127 <title>Configuration Information</title>
128
129 <para>Update <filename>/etc/shells</filename> to include the
130 <application>Dash</application> shell by issuing the following command
131 as the <systemitem class="username">root</systemitem> user:</para>
132
133<screen role="root"><userinput>cat &gt;&gt; /etc/shells &lt;&lt; "EOF"
134<literal>/bin/dash</literal>
135EOF</userinput></screen>
136
137 </sect3>
138
139 </sect2>
140
141 <sect2 role="content">
142 <title>Contents</title>
143
144 <segmentedlist>
145 <segtitle>Installed Program</segtitle>
146 <segtitle>Installed Libraries</segtitle>
147 <segtitle>Installed Directories</segtitle>
148
149 <seglistitem>
150 <seg>dash</seg>
151 <seg>None</seg>
152 <seg>None</seg>
153 </seglistitem>
154 </segmentedlist>
155
156 <variablelist>
157 <bridgehead renderas="sect3">Short Description</bridgehead>
158 <?dbfo list-presentation="list"?>
159 <?dbhtml list-presentation="table"?>
160
161 <varlistentry id="Dash-prog">
162 <term><command>dash</command></term>
163 <listitem>
164 <para>is a POSIX compliant shell.</para>
165 <indexterm zone="dash Dash-prog">
166 <primary sortas="b-dash">dash</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 </variablelist>
172
173 </sect2>
174
175</sect1>
Note: See TracBrowser for help on using the repository browser.