| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288 | # SOME DESCRIPTIVE TITLE# Copyright (C) YEAR Free Software Foundation, Inc.# This file is distributed under the same license as the PACKAGE package.# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.##, fuzzymsgid ""msgstr """Project-Id-Version: PACKAGE VERSION\n""POT-Creation-Date: 2020-06-17 12:44+0800\n""PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n""Last-Translator: FULL NAME <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <LL@li.org>\n""Language: \n""MIME-Version: 1.0\n""Content-Type: text/plain; charset=UTF-8\n""Content-Transfer-Encoding: 8bit\n"#. type: Content of: <sect1><sect1info><address>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:14#, no-wrapmsgid "&bash-url;"msgstr ""#. type: Content of: <sect1><sect1info>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:12msgid """<productname>bash</productname> ""<productnumber>&bash-version;</productnumber> <placeholder type=\"address\" ""id=\"0\"/>"msgstr ""#. type: Content of: <sect1><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:17msgid "Bash-&bash-version;"msgstr ""#. type: Content of: <sect1><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:20msgid "Bash"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:26msgid "The Bash package contains the Bourne-Again SHell."msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:29msgid "&buildtime;"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:30msgid "&diskspace;"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:33msgid "&bash-fin-sbu;"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:34msgid "&bash-fin-du;"msgstr ""#. type: Content of: <sect1><sect2><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:41msgid "Installation of Bash"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:43msgid "Incorporate some upstream fixes:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:45#, no-wrapmsgid "<userinput remap=\"pre\">patch -Np1 -i ../&bash-fixes-patch;</userinput>"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:47msgid "Prepare Bash for compilation:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:49#, no-wrapmsgid """<userinput remap=\"configure\">./configure --prefix=/usr                    ""\\\n""            --docdir=/usr/share/doc/bash-&bash-version; \\\n""            --without-bash-malloc            \\\n""            --with-installed-readline</userinput>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:55msgid "The meaning of the new configure option:"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:58msgid "<parameter>--with-installed-readline</parameter>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:60msgid """This option tells Bash to use the <filename ""class=\"libraryfile\">readline</filename> library that is already installed ""on the system rather than using its own readline version."msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:69msgid "Compile the package:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:71#, no-wrapmsgid "<userinput remap=\"make\">make</userinput>"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:73msgid """Skip down to <quote>Install the package</quote> if not running the test ""suite."msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:76msgid """To prepare the tests, ensure that the <systemitem ""class=\"username\">tester</systemitem> user can write to the sources tree:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:78#, no-wrapmsgid "<userinput remap=\"test\">chown -Rv tester .</userinput>"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:80msgid """Now, run the tests as the <systemitem class=\"username\">tester</systemitem> ""user:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:83#, no-wrapmsgid """<userinput remap=\"test\">su tester << EOF\n""PATH=$PATH make tests < $(tty)\n""EOF</userinput>"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:87msgid """Install the package and move the main executable to <filename ""class='directory'>/bin</filename>:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:90#, no-wrapmsgid """<userinput remap=\"install\">make install\n""mv -vf /usr/bin/bash /bin</userinput>"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:93msgid """Run the newly compiled <command>bash</command> program (replacing the one ""that is currently being executed):"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:96#, no-wrapmsgid "<userinput>exec /bin/bash --login +h</userinput>"msgstr ""#. type: Content of: <sect1><sect2><note><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:99msgid """The parameters used make the <command>bash</command> process an interactive ""login shell and continues to disable hashing so that new programs are found ""as they become available."msgstr ""#. type: Content of: <sect1><sect2><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:107msgid "Contents of Bash"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:110msgid "Installed programs"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:111msgid "Installed directory"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:114msgid "bash, bashbug, and sh (link to bash)"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:115msgid "/usr/include/bash, /usr/lib/bash, and /usr/share/doc/bash-&bash-version;"msgstr ""#. type: Content of: <sect1><sect2><variablelist><bridgehead>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:121msgid "Short Descriptions"msgstr ""#. type: Content of: <sect1><sect2><variablelist>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:122msgid "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:126msgid "<command>bash</command>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:128msgid """A widely-used command interpreter; it performs many types of expansions and ""substitutions on a given command line before executing it, thus making this ""interpreter a powerful tool"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:132msgid "bash"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:138msgid "<command>bashbug</command>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:140msgid """A shell script to help the user compose and mail standard formatted bug ""reports concerning <command>bash</command>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:143msgid "bashbug"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:149msgid "<command>sh</command>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:151msgid """A symlink to the <command>bash</command> program; when invoked as ""<command>sh</command>, <command>bash</command> tries to mimic the startup ""behavior of historical versions of <command>sh</command> as closely as ""possible, while conforming to the POSIX standard as well"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/bash.xml:157msgid "sh"msgstr ""
 |