source: BOOK/final-system/common/bash.xml@ 81370ca

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 81370ca was 663f8a7, checked in by Jim Gifford <clfs@…>, 16 years ago

Updated Bash 4.0

  • Property mode set to 100644
File size: 4.3 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-bash" role="wrap">
9 <?dbhtml filename="bash.html"?>
10
11 <title>Bash-&bash-version;</title>
12
13 <indexterm zone="ch-system-bash">
14 <primary sortas="a-Bash">Bash</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Bash package contains the Bourne-Again SHell.</para>
21
22 </sect2>
23
24 <sect2 role="installation">
25 <title>Installation of Bash</title>
26
[663f8a7]27<!--
[6f9ab64]28 <para os="p1">The following patch contains updates from the maintainer. The
[dd10a75]29 maintainer of Bash only releases these patches to fix serious issues:</para>
[6f9ab64]30
[d849dd4]31<screen os="p2"><userinput>patch -Np1 -i ../&bash-branch_update-patch;</userinput></screen>
[663f8a7]32-->
33 <para os="a">Prepare Bash for compilation:</para>
[d849dd4]34
[663f8a7]35<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin \
[3f8be484]36 --without-bash-malloc --with-installed-readline</userinput></screen>
37
[663f8a7]38 <variablelist os="c">
[3f8be484]39 <title>The meaning of the configure option:</title>
40
41 <varlistentry>
42 <term><parameter>--with-installed-readline</parameter></term>
43 <listitem>
44 <para>This option tells Bash to use the
45 <filename class="libraryfile">readline</filename> library that is
46 already installed on the system rather than using its own readline
47 version.</para>
48 </listitem>
49 </varlistentry>
50 </variablelist>
51
[663f8a7]52 <para os="d">Compile the package:</para>
[3f8be484]53
[663f8a7]54<screen os="e"><userinput>make</userinput></screen>
[3f8be484]55
[663f8a7]56 <para os="f">To test the results, issue:
[adb2d7f]57 <userinput>make tests</userinput>.</para>
[3f8be484]58
[663f8a7]59 <para os="g">Install the package:</para>
[3f8be484]60
[663f8a7]61<screen os="h"><userinput>make htmldir=/usr/share/doc/bash-&bash-version; install</userinput></screen>
[3f8be484]62
[663f8a7]63 <para os="i">Run the newly compiled <command>bash</command> program (replacing
[3f8be484]64 the one that is currently being executed):</para>
65
[663f8a7]66<screen os="j" role="nodump"><userinput>exec /bin/bash --login +h</userinput></screen>
[3f8be484]67
[663f8a7]68 <note os="k">
[3f8be484]69 <para>The parameters used make the <command>bash</command>
70 process an interactive login shell and continue to disable hashing so
71 that new programs are found as they become available.</para>
72 </note>
73
74 </sect2>
75
76 <sect2 id="contents-bash" role="content">
77 <title>Contents of Bash</title>
78
79 <segmentedlist>
80 <segtitle>Installed programs</segtitle>
81
82 <seglistitem>
83 <seg>bash, bashbug, and sh (link to bash)</seg>
84 </seglistitem>
85 </segmentedlist>
86
87 <variablelist>
88 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
89 <?dbfo list-presentation="list"?>
90 <?dbhtml list-presentation="table"?>
91
92 <varlistentry id="bash">
93 <term><command>bash</command></term>
94 <listitem>
95 <para>A widely-used command interpreter; it performs many types of
96 expansions and substitutions on a given command line before executing
97 it, thus making this interpreter a powerful tool</para>
98 <indexterm zone="ch-system-bash bash">
99 <primary sortas="b-bash">bash</primary>
100 </indexterm>
101 </listitem>
102 </varlistentry>
103
104 <varlistentry id="bashbug">
105 <term><command>bashbug</command></term>
106 <listitem>
107 <para>A shell script to help the user compose and mail standard
108 formatted bug reports concerning <command>bash</command></para>
109 <indexterm zone="ch-system-bash bashbug">
110 <primary sortas="b-bashbug">bashbug</primary>
111 </indexterm>
112 </listitem>
113 </varlistentry>
114
115 <varlistentry id="sh">
116 <term><command>sh</command></term>
117 <listitem>
118 <para>A symlink to the <command>bash</command> program; when invoked
119 as <command>sh</command>, <command>bash</command> tries to mimic the
120 startup behavior of historical versions of <command>sh</command> as
121 closely as possible, while conforming to the POSIX standard as
122 well</para>
123 <indexterm zone="ch-system-bash sh">
124 <primary sortas="b-sh">sh</primary>
125 </indexterm>
126 </listitem>
127 </varlistentry>
128
129 </variablelist>
130
131 </sect2>
132
133</sect1>
Note: See TracBrowser for help on using the repository browser.