Changeset 673b0d8 for chapter06/bash.xml
- Timestamp:
- 05/03/2004 10:59:46 AM (20 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 0c43171, 2ec64b3, a4a675f
- Parents:
- 287ea55
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/bash.xml
r287ea55 r673b0d8 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ 3 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 %general-entities; 5 ]> 1 6 <sect1 id="ch-system-bash" xreflabel="Bash"> 2 <title>Installing Bash-&bash-version;</title> 3 <?dbhtml filename="bash.html" dir="chapter06"?> 7 <title>Bash-&bash-version;</title> 8 <?dbhtml filename="bash.html"?> 9 10 <indexterm zone="ch-system-bash"><primary sortas="a-Bash">Bash</primary></indexterm> 4 11 5 12 <para>The Bash package contains the Bourne-Again SHell.</para> 6 13 7 <screen> &buildtime; &bash-time;8 &diskspace; &bash-compsize;</screen>14 <screen>Approximate build time: 1.2 SBU 15 Required disk space: 27 MB</screen> 9 16 10 &aa-bash-down; 11 &aa-bash-dep; 17 <para>Bash installation depends on: Binutils, Coreutils, Diffutils, Gawk, 18 GCC, Glibc, Grep, Make, Ncurses, Sed.</para> 12 19 13 <sect2><title> </title><para> </para></sect2> 20 14 21 15 22 <sect2> … … 17 24 18 25 <para>Bash has a number of bugs in it that cause it to not behave the 19 way it is expected at times. Fix this behavio ur with the following26 way it is expected at times. Fix this behavior with the following 20 27 patch:</para> 21 28 22 <screen><userinput>patch -Np1 -i ../ &bash-patch;</userinput></screen>29 <screen><userinput>patch -Np1 -i ../bash-&bash-version;-2.patch</userinput></screen> 23 30 24 31 <para>Now prepare Bash for compilation:</para> … … 30 37 <screen><userinput>make</userinput></screen> 31 38 32 <para>To have the results tested, issue:39 <para>To test the results, issue: 33 40 <userinput>make tests</userinput>.</para> 34 41 … … 37 44 <screen><userinput>make install</userinput></screen> 38 45 39 <para> And reload the newly compiled <command>bash</command> program:</para>46 <para>Now run the newly compiled <command>bash</command> program (replacing the one you are currently executing):</para> 40 47 41 <screen><userinput>exec /bin/bash +h</userinput></screen> 48 <screen><userinput>exec /bin/bash --login +h</userinput></screen> 49 50 <para>Note that the parameters used make it an interactive login instance 51 (so /etc/profile is read, if it exists, and the first found 52 ~/.bash_profile, ~/.bash_login or and ~/.profile) and continue to 53 disable hashing so that new programs are found as they become 54 available.</para> 42 55 43 56 </sect2> 44 57 45 &aa-bash-shortdesc; 46 &aa-bash-desc; 58 59 <sect2 id="contents-bash"><title>Contents of Bash</title> 60 61 <para><emphasis>Installed programs</emphasis>: bash, sh (link to bash) and 62 bashbug</para> 63 64 </sect2> 65 66 67 <sect2><title>Short descriptions</title> 68 69 <indexterm zone="ch-system-bash bash"><primary sortas="b-bash">bash</primary></indexterm> 70 <para id="bash"><command>bash</command> is a widely-used command interpreter. It 71 performs many kinds of expansions and substitutions on a given command line 72 before executing it, thus making this interpreter a powerful tool.</para> 73 74 <indexterm zone="ch-system-bash bashbug"><primary sortas="b-bashbug">bashbug</primary></indexterm> 75 <para id="bashbug"><command>bashbug</command> is a shell script to help the user 76 compose and mail bug reports concerning bash in a standard format.</para> 77 78 <indexterm zone="ch-system-bash sh"><primary sortas="b-sh">sh</primary></indexterm> 79 <para id="sh"><command>sh</command> is a symlink to the bash program. When invoked 80 as sh, bash tries to mimic the startup behavior of historical versions of sh as 81 closely as possible, while conforming to the POSIX standard as well.</para> 82 83 </sect2> 84 85 47 86 48 87 </sect1> 49
Note:
See TracChangeset
for help on using the changeset viewer.