source: postlfs/shells/dash.xml@ fd7e0ed6

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 fd7e0ed6 was fd7e0ed6, checked in by Randy McMurchy <randy@…>, 16 years ago

Changed all lines with nothing but whitespace to blank lines

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

  • Property mode set to 100644
File size: 5.4 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 (FTP): <ulink url="&dash-download-ftp;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download MD5 sum: &dash-md5sum;</para>
52 </listitem>
53 <listitem>
54 <para>Download size: &dash-size;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated disk space required: &dash-buildsize;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated build time: &dash-time;</para>
61 </listitem>
62 </itemizedlist>
63
64 <bridgehead renderas="sect3">Dash Dependencies</bridgehead>
65
66 <bridgehead renderas="sect4">Optional</bridgehead>
67 <para role="optional"><ulink url="http://www.thrysoee.dk/editline/">libedit</ulink>
68 (command line editor library)</para>
69
70 <para condition="html" role="usernotes">User Notes:
71 <ulink url="&blfs-wiki;/dash"/></para>
72
73 </sect2>
74
75 <sect2 role="installation">
76 <title>Installation of Dash</title>
77
78 <para>Install <application>Dash</application> by running the following
79 commands:</para>
80
81<screen><userinput>./configure --bindir=/bin --mandir=/usr/share/man &amp;&amp;
82make</userinput></screen>
83
84 <para>This package does not come with a test suite.</para>
85
86 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
87
88<screen role="root"><userinput>make install</userinput></screen>
89
90 <para>If you would like to make <command>dash</command> the default
91 <command>sh</command>, recreate the <filename>/bin/sh</filename>
92 symlink as the <systemitem class="username">root</systemitem> user:</para>
93
94<screen role="root"><userinput>ln -svf dash /bin/sh</userinput></screen>
95
96 </sect2>
97
98 <sect2 role="commands">
99 <title>Command Explanations</title>
100
101 <para><parameter>--bindir=/bin</parameter>: This parameter places the
102 <command>dash</command> binary into the root filesystem.</para>
103
104 <para><option>--with-libedit</option>: To compile <application>Dash</application>
105 with libedit support.</para>
106
107 </sect2>
108
109 <sect2 role="configuration">
110 <title>Configuring Dash</title>
111
112 <sect3 id="dash-config">
113 <title>Config Files</title>
114
115 <para><application>Dash</application> sources
116 <filename>/etc/profile</filename> and
117 <filename>$HOME/.profile</filename></para>
118
119 <indexterm zone="dash dash-config">
120 <primary sortas="e-etc-profile">/etc/profile</primary>
121 </indexterm>
122
123 <indexterm zone="dash dash-config">
124 <primary sortas="e-AHOME-.profile">$HOME/.profile</primary>
125 </indexterm>
126
127 </sect3>
128
129 <sect3>
130 <title>Configuration Information</title>
131
132 <para>Update <filename>/etc/shells</filename> to include the
133 <application>Dash</application> shell by issuing the following command
134 as the <systemitem class="username">root</systemitem> user:</para>
135
136<screen role="root"><userinput>cat &gt;&gt; /etc/shells &lt;&lt; "EOF"
137<literal>/bin/dash</literal>
138EOF</userinput></screen>
139
140 </sect3>
141
142 </sect2>
143
144 <sect2 role="content">
145 <title>Contents</title>
146
147 <segmentedlist>
148 <segtitle>Installed Program</segtitle>
149 <segtitle>Installed Libraries</segtitle>
150 <segtitle>Installed Directories</segtitle>
151
152 <seglistitem>
153 <seg>dash</seg>
154 <seg>None</seg>
155 <seg>None</seg>
156 </seglistitem>
157 </segmentedlist>
158
159 <variablelist>
160 <bridgehead renderas="sect3">Short Description</bridgehead>
161 <?dbfo list-presentation="list"?>
162 <?dbhtml list-presentation="table"?>
163
164 <varlistentry id="Dash-prog">
165 <term><command>dash</command></term>
166 <listitem>
167 <para>is a POSIX compliant shell.</para>
168 <indexterm zone="dash Dash-prog">
169 <primary sortas="b-dash">dash</primary>
170 </indexterm>
171 </listitem>
172 </varlistentry>
173
174 </variablelist>
175
176 </sect2>
177
178</sect1>
Note: See TracBrowser for help on using the repository browser.