Changeset 673b0d8 for chapter06/bash.xml


Ignore:
Timestamp:
05/03/2004 10:59:46 AM (20 years ago)
Author:
Matthew Burgess <matthew@…>
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
Message:
  • Merged newxml into HEAD

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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]>
    16<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>
    411
    512<para>The Bash package contains the Bourne-Again SHell.</para>
    613
    7 <screen>&buildtime; &bash-time;
    8 &diskspace; &bash-compsize;</screen>
     14<screen>Approximate build time:  1.2 SBU
     15Required disk space:     27 MB</screen>
    916
    10 &aa-bash-down;
    11 &aa-bash-dep;
     17<para>Bash installation depends on: Binutils, Coreutils, Diffutils, Gawk,
     18GCC, Glibc, Grep, Make, Ncurses, Sed.</para>
    1219
    13 <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     20
    1421
    1522<sect2>
     
    1724
    1825<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 behaviour with the following
     26way it is expected at times. Fix this behavior with the following
    2027patch:</para>
    2128
    22 <screen><userinput>patch -Np1 -i ../&bash-patch;</userinput></screen>
     29<screen><userinput>patch -Np1 -i ../bash-&bash-version;-2.patch</userinput></screen>
    2330
    2431<para>Now prepare Bash for compilation:</para>
     
    3037<screen><userinput>make</userinput></screen>
    3138
    32 <para>To have the results tested, issue:
     39<para>To test the results, issue:
    3340<userinput>make tests</userinput>.</para>
    3441
     
    3744<screen><userinput>make install</userinput></screen>
    3845
    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>
    4047
    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
     53disable hashing so that new programs are found as they become
     54available.</para>
    4255
    4356</sect2>
    4457
    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
     62bashbug</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
     71performs many kinds of expansions and substitutions on a given command line
     72before 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
     76compose 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
     80as sh, bash tries to mimic the startup behavior of historical versions of sh as
     81closely as possible, while conforming to the POSIX standard as well.</para>
     82
     83</sect2>
     84
     85
    4786
    4887</sect1>
    49 
Note: See TracChangeset for help on using the changeset viewer.