diff options
Diffstat (limited to 'chapter06/bash.xml')
-rw-r--r-- | chapter06/bash.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chapter06/bash.xml b/chapter06/bash.xml index 8d53a7755..668071223 100644 --- a/chapter06/bash.xml +++ b/chapter06/bash.xml @@ -43,18 +43,18 @@ <para>If you downloaded the Bash documentation tarball and wish to install HTML documentation, issue the following commands:</para> -<screen><userinput>tar -xvf ../bash-doc-&bash-doc-version;.tar.gz +<screen><userinput remap="pre">tar -xvf ../bash-doc-&bash-doc-version;.tar.gz sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \ Makefile.in</userinput></screen> <para>Apply fixes for several bugs discovered since the initial release of Bash-&bash-version;:</para> -<screen><userinput>patch -Np1 -i ../&bash-fixes-patch;</userinput></screen> +<screen><userinput remap="pre">patch -Np1 -i ../&bash-fixes-patch;</userinput></screen> <para>Prepare Bash for compilation:</para> -<screen><userinput>./configure --prefix=/usr --bindir=/bin \ +<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin \ --without-bash-malloc --with-installed-readline</userinput></screen> <variablelist> @@ -74,7 +74,7 @@ sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \ <para>Compile the package:</para> -<screen><userinput>make</userinput></screen> +<screen><userinput remap="make">make</userinput></screen> <para>Skip down to <quote>Install the package</quote> if not running the test suite.</para> @@ -84,18 +84,18 @@ sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \ class="username">nobody</systemitem> user can read the standard input device and write to the sources tree:</para> -<screen><userinput>sed -i 's/LANG/LC_ALL/' tests/intl.tests +<screen><userinput remap="test">sed -i 's/LANG/LC_ALL/' tests/intl.tests sed -i 's@tests@& </dev/tty@' tests/run-test chown -Rv nobody ./</userinput></screen> <para>Now, run the tests as the <systemitem class="username">nobody</systemitem> user:</para> -<screen><userinput>su-tools nobody -s /bin/bash -c "make tests"</userinput></screen> +<screen><userinput remap="test">su-tools nobody -s /bin/bash -c "make tests"</userinput></screen> <para>Install the package:</para> -<screen><userinput>make install</userinput></screen> +<screen><userinput remap="install">make install</userinput></screen> <para>Run the newly compiled <command>bash</command> program (replacing the one that is currently being executed):</para> |